Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

periabyte/koa2-starter-kit

Repository files navigation

koa2-starter-kit

Built this so I always have a starting point for a rest api utilizing async/await and es6+ features. Feel free to use it as it is or modify it according to your needs.

Packages Used

Structure

Self explanatory

  • controllers - place for controllers used by routes here
  • middlewares - place for middlewares
  • models - place for mongoose models
  • routes - place koa-trie-router routes
  • server.js - set up server
  • index.js - entry point
  • .env - Environment Variables
  • .eslintrc.json - eslint config

Changelogs

  • Replaced Camo.js with Mongoose
  • Replaced koa-66 with koa-trie-router
  • Added Passport.js
  • Updated several packages
  • Added Prettier

About

Another koa2 starter kit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published