Skip to content

AJWavio/eventthai-test

Repository files navigation

Eventpass Country Master

Description

Nest project for Eventthai pre-interview test.

Dependency Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Configuration

See Project Configuration Documentation

API Documentation

Set SERVER_IS_ENABLE_DOCS environment variable to true and view at http://{hostpath}:{SERVER_PORT}/{API_ROUTE_DOC}

Important notes

Country has to be added into the database before the user can be created, use the following MongoDB statement to insert starter country into the database

db.countries.insertMany([
  {
    "code": "TH",
    "name": "Thailand"
  },
  {
    "code": "EN",
    "name": "England"
  }
]);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published