THIS PROJECT HAS BEEN DEPRECATED IN FAVOR OF LEAN JAVASCRIPT APPLICATION STARTER.
This codebase can help you kickoff your next Express & MongoDB project.
First you must have Node.js installed.
Next, run npm install
to download and install almost all of the dependencies you need to run the project. With this command alone you'll be able to run most of the application, but if you want to run the examples that require a database you'll need to install MongoDB.
After MongoDB is installed, run the daemon mongod
alongside the application to get database functionality working.
Simply run npm run watch
to start the application.
While it's running with the watch script, any changes you do to your JavaScript will trigger the application to restart so you don't need to manually do it yourself.
Use ESLint and Prettier to avoid bugs and keep your code formatting clear and consistent.
Debug with Chrome DevTools by running npm run debug
.
Test your code with Mocha and Chai. Test how your application works with HTTP with SuperTest.
The configurations are designed to be as clean and minimal as possible, giving you an easier time reading, understanding, and customizing the codebase.
If you want to to deploy to Heroku, checkout the heroku
branch.
Check out the GitHub wiki!