mostafa8026 / express-typescript-ejs-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro

A simple boilerplate for typescript, express and ejs, the project includes:

  • A simple express server
  • A simple ejs template
  • A simple typescript config
  • A simple livereload using ts-node-dev and connect-livereload

Usage

To run the project in development you can set the NODE_ENV to development and run the start script:

$ NODE_ENV=development npm run dev

To run the project in production you can set the NODE_ENV to production and run the start script:

$ NODE_ENV=production npm run start

Todo list

  • Add a simple docker-compose file
  • Add a simple dockerfile
  • Add webpack
  • Add a simple test

About


Languages

Language:TypeScript 83.2%Language:EJS 16.8%