/Olympic-games-backend

Backend side of Olympic games web app

Primary LanguageTypeScript

Olympic games Web App (backend)

Installation

After downloading project, from project root run:

    npm install

to install all dependencies.

Usage

  1. Start mongodb (there is .cfg file provided to store data inside project):
    mongod -f ./mongo/mongo.cfg
  1. Create .env file.

  2. To run server, simply run:

    npm start
  1. Start postman and import postman collection provided for testing

ENV file

Env file needs to be created in project root and to contain:

  1. HOST variable
  2. PORT variable
  3. DB variable