Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

mattlean/lean-express-mongo-starter

Repository files navigation

THIS PROJECT HAS BEEN DEPRECATED IN FAVOR OF LEAN JAVASCRIPT APPLICATION STARTER.

Lean Express/Mongo Starter

This codebase can help you kickoff your next Express & MongoDB project.

Features

Main Dependencies

Easy Setup

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.

Convenient Development

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.

Testing

Test your code with Mocha and Chai. Test how your application works with HTTP with SuperTest.

Ready for Customization

The configurations are designed to be as clean and minimal as possible, giving you an easier time reading, understanding, and customizing the codebase.

Heroku

If you want to to deploy to Heroku, checkout the heroku branch.

Need Help?

Check out the GitHub wiki!