Skip to content

Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql

License

Notifications You must be signed in to change notification settings

marcelaodev/dcs-task1

 
 

Repository files navigation

Deep Consulting Solutions Interview Test 1

Instructions

Requirements

  • NodeJs 12+
  • Npm

Install and Use

Start by cloning this repository

# HTTPS
$ git clone https://github.com/talentodev/dcs-task1.git

if you don't have NodeJS 12+, Volta can handle that for you

Just Install Volta

then

# cd into project root
$ npm i

$ npm start

the API runs on port 5000.
You may change it setting an environment variable 'PORT' or altering the file src/application/rest.js.

Logs are written into logs folder.

Documentation

While running the API, you can access the docs on the route /apidoc

After the first run of the API you can access the docs at apidoc/index.html

Test

$ npm run test

About

Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.2%
  • Dockerfile 1.8%