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
If you change the JWT part in the config file, the auth token will be expired immediately.
$ openssl
OpenSSL> genrsa -out rsa_private_key.pem 2048
OpenSSL> rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem