Complete Boilerplate for building simple Node.js API server
- TypeScript (with Sequelize models)
- Koa
- Koa router
- Static file serving
- Sequelize
- Passport for database authentication
- API key authentication
- Clone the repository
- Install dependencies with
npm install
- Run the development server with
npm run dev
- 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