Skip to content

Cyrusky/koa-template

Repository files navigation

Koa2 Server Template

This is a template for a Koa2 server with a few useful features:

  • ES6/7 support
  • ESLint
  • Prettier
  • Nodemon
  • Log4js
  • Koa-router
  • Full Typescript support
  • TypeDI support
  • JWT authentication
  • ESBuild
  • TypeORM support
  • GraphQL & Prisma Support
  • Joi

Notice

If you change the JWT part in the config file, the auth token will be expired immediately.

To generate a key pair

$ openssl     
OpenSSL> genrsa -out rsa_private_key.pem 2048
OpenSSL> rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors