transmute/server/README.md
2023-08-14 14:36:45 -04:00

1.1 KiB

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>