/ExpressJS-Web-Starter-Template

ExpressJS complete template with migration management, authentication, error handling, etc.

Primary LanguageJavaScriptMIT LicenseMIT

ExpressJS-Web-Starter-Template

Simple ExpressJS web server template by antoinemcx.
If you like the project, feel free to put a ⭐ ; If you need help, join the server support.

MIT Licence CodeFactor Stars Support server

Features

  • 🚀 Ready to code
  • 📁 A complete file structure
  • 📡 MariaDB connection with migrations management
  • 👥 Sign up and sign in systems
  • 🔐 Authentication system
  • ✏️ Page template with a simple header
  • ❌ Custom error paging

Setup the project

First, install the dependencies with npm i.
Then, create the files default.js and production.js in config/ based on the config-example.js.

Launch

Launch in development

$ npm start

Launch in production

$ npm run production

More information

For any errors found, please contact me here for exemple or do a pull request.
This repository is licensed under the MIT License. See the LICENSE file (here) for more information.