This is the shell project to get you started with your NodeJS API in Enterprise.
To learn more about this project: https://dev.to/pato_codes/nodejs-setup-shell-open-source-3j3i
Very simple if you are starting into the NodeJS world (if you have some knowledge on it) clone this repo and start working on the enterprise project.
This project has several tools/Code already setup for you:
- NodeJS
- ExpressJS
- MongoDB Connection
- Routes
- Schema file
- Mocha/Chai
- Grunt
- Nodemon
- Middlewares
- Test coverage with NYC
npm start
If you take a look to the package.json file, you can see I'm using nodemon to run and watch your files.
npm test
If you take a look to the package.json file, you can see I'm using mocha to run and watch your files.
npm coverage
If you take a look to the package.json file, you can see I'm using nyc to create the test coverage report as a html file and running my npm test commands.
If you are into NodeJS and have seen repetitive things that you add to your NodeJS API setups all the time, feel free to add them to the repo.
- Fork the repo
- Star the repo
- Submit a PR
https://github.com/thisdot/nodejs-enterprise-setup-tutorial
-MIT