Skip to content

codingmaven/lattis-test-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lattis-test-project

How to run the project

  • Clone the repo
  • install dependencies by running npm install
  • start the server by running npm run dev
  • run the test code by running npm test

Notes:

  • I have used sequelize as database ORM and currently supporting sqlite, mysql and postgresql. For testing and development, we can use sqllite which doesn't require any physical database servers.
  • I have implemented all REST api routes defined in specification documentation.
  • Authentication is implemented using JWT.
  • Integration Tests are implemented for all user routes using Jest
  • You can check the coverage report in coverage folder after running tests.
  • Eslint is setup and we run eslint before run the test code to make sure all codes are eslint free.
  • Right now, detailed request/response validations are missing for controllers
  • Code for locks routes are not properly tested. Please check only coding style.

Updated 9/2/2018

  • Test cases for locks route added, fixed some issues with lock controller.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published