/metacare

Starwars API

Primary LanguageTypeScript

Starwars API

Install dependencies

Run npm install or npm i to install dependencies

Create a .env file at the root folder with the following variable

Sample of .env file is in the root direcory

Migration

Run npm run migrate to migrate the DB.

Start app in development

Run npm run dev to start application in development (windows OS). Run npm run dev:mac to start application in development (Mac OS).

The Mac OS command is to enable Debug log as expected.

Build app for production

Run npm run build to build app for production.

Start Application in production environment

Run npm start to start the application.