.. | ||
src | ||
.gitignore | ||
.npmrc | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
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
- Install the dependencies:
npm install
- Start the Angular server:
npm run start
Docker
- Build the docker image:
docker build -t transmute-server:<TAG> .
- 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>