The goal of this project is to apply repository pattern design to API with JWT Authentication
// Check version after install
node -v && npm -v && docker -v
####Database Create a db directory to have persistent data on your host
cd data && mkdir db
Build MongoDB image ..
npm run mongod:build
... & Run it
npm run mongod:run
######If you have some troubles with running MongoDB container, try to stop all and retry Stop all MongoDB containers
npm run mongod:stop
####Server Install all dependencies
npm install
Run server for development...
npm run dev
...or build it with Webpack
npm start
See all scripts in package.json
This project was made to improve my back-end development skills. It's first a learning support. So, feel free to fork, revise it or share some tricks. :)
Still in Progress...
- Typescript - language for application scale JavaScript development
- NPM - Dependency Management
- Express - The web framework used
- Mongoose - ODM for MongoDB
- MongoDB - Data library
- Greg OLIVIER - GitHub