Skip to content

EsneyderP/AspireIQ_Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements


Scripts

Install Modules

$ npm i
$ npm i nodemon -g 

Run

$ npm run start # classic start OR
$ npm run dev # with nodemon live update  

Runs the application with nodemon. Server is listening on Port 3000 by default. This can be overwritten by PORT constant in .env file.

Run Tests

$ npm run test

Future Improvements

  • Adding JSON schema validation in order to avoid invalid mutations format.
  • Adding full support for multiple nested array insertions in one single mutation.
  • Create an API for routine external access.
  • Saving the edited document on disk.
  • Improve unit tests for the returned data structure.

Support

License

MIT


About

Backend Take Home: Subdocument Array Mutation - Prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published