transmute/server
2023-08-14 14:36:45 -04:00
..
src init 2023-08-14 14:36:45 -04:00
.gitignore init 2023-08-14 14:36:45 -04:00
.npmrc init 2023-08-14 14:36:45 -04:00
package-lock.json init 2023-08-14 14:36:45 -04:00
package.json init 2023-08-14 14:36:45 -04:00
README.md init 2023-08-14 14:36:45 -04:00
tsconfig.json init 2023-08-14 14:36:45 -04:00

Transmute Server

This is the server & orchestrator for the Transmute stack.

Transmute server is built using Express.js

Table of Contents

[[TOC]]

Prerequisites

Setup

The project can either be run using NPM or Docker. NPM is recommended for development.

NPM
  1. Install the dependencies: npm install
  2. Start the Angular server: npm run start
Docker
  1. Build the docker image: docker build -t transmute-server:<TAG> .
  2. Start the new image: docker run -p 5000:5000 transmute-server:<TAG>

The API should now be accessible on http://localhost:5000

Cheatsheet

# Start Angular server
npm run start

# Build production
npm run build:prod

# Build docker image
docker build -t transmute-server:<TAG>

# Run docker image
docker run -p 5000:5000 transmute-server:<TAG>