Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.23 KB

README.md

File metadata and controls

70 lines (47 loc) · 2.23 KB

Open Source Love GitHub GitHub forks GitHub issues GitHub pull requests GitHub contributors GitHub top language

Node API Enterprise Setup Shell

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

How to use it?

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.

Tools/Code

This project has several tools/Code already setup for you:

  • NodeJS
  • ExpressJS
  • MongoDB Connection
  • Routes
  • Schema file
  • Moca/Chai
  • Grunt
  • Nodemon
  • Middlewares
  • Test coverage with NYC

Run the project

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.

Run the test

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.

Run the test coverage

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.

Contribute this Open Source project

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

Complete Code Example Using The Shell

https://github.com/thisdot/nodejs-enterprise-setup-tutorial

License

-MIT