ExpressJS sample project featuring useful libraries.
This is a simple mock backend based Website project built with ExpressJS. It is setup with some common NodeJS libraries. This project can be used for learning purposes or as a starter template for starting a project.
- Clone the repository:
cd somewhere
git clone https://github.com/practical-works/express-sample.git
cd express-sample
- Install the dependencies:
npm i
- Install Nodemon globally:
npm i -g nodemon
- Run server for development:
npm run dev
π‘ It is advised to not push the
.env
file in production. either delete it or add it to.gitignore
.
To deploy the project in a node environment:
-
Push the repository to a node server using a service like Heroku.
-
Install the dependencies:
npm i
- Start server for production:
npm start
- Runtime: NodeJS
- Package Manager: NPM
- Editor: Sublime Text
- βοΈ Core:
- π§ Utils:
- Validation: Express-Validator
- Session Storage: Cookie-Session
- Environment Configuration: DotEnv
- Console Logging: Morgan
- Console Coloration: Colors.JS
- Hot Reloading: LiveReload / Connect-LiveReload
- π¨ UI: Bulma
Licensed under MIT.