Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 718 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 718 Bytes

tvoe-live-test

TVOЁ Live Test Job

Introduction

Simple application to show basic skills with:

  • Node.js
  • Express
  • MongoDB
  • Swagger

Getting started

  • Clone project, install dependencies. Run following:
    node populatedb.js <valid mongodb uri>

For example node populatedb.js mongodb://localhost:27017/tvoe-test. It will create a database with several records.

  • Create .env file in a project root. .env content:
    MONGODB_URI=<valid monbodb uri>
    PORT=<port number>
  • To start server run:
    npm run start

Endpoints