Skip to content

Lierrmm/express-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Template

This is my go to express template for nodeJS projects. You may not find this useful, however, I do!

Installation

  1. Install packages:
npm i --save
  1. Configure template html/ejs (optional)
app.engine('html', require('ejs').renderFile); //remove if using ejs templating
app.set('view engine', 'html'); //set to ejs if using ejs templating
  1. Run
npm start

What's included

  • Basic Routing
  • API Routing
  • Helmet ( Security Headers )
  • Cloud port handling with fallback

About

express-template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published