Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 691 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 691 Bytes

forthebadge

Logo

Complete Boilerplate for building simple Node.js API server

Features

  • TypeScript (with Sequelize models)
  • Koa
  • Koa router
  • Static file serving
  • Sequelize
  • Passport for database authentication
  • API key authentication

Instructions

  1. Clone the repository
  2. Install dependencies with npm install
  3. Run the development server with npm run dev

Production

  • To build and run a production server: npm run prod
  • To only build production assets: npm run prod:build
  • To only run a production server: npm run prod:run