A blog API built with Fastify and Objection.js (Knex-based ORM)
This API was built with the following technologies/paradigms/philosophies:
- TypeScript
- Fastify
- Objection.js
- Argon2
- JWT Authentication & Authorization
- Security & performance best-practices
- Scalability
- Node.js >= 11 (LTS preferable)
- PostgreSQL > 9
- Argon2 build tools. See: Building Argon2
- Docker >= 18
$ yarn install
# install dependencies
$ yarn dev
# hot reloading server
$ yarn build
# build ts files
$ yarn start
# production server
*NODE_ENV=development
*PORT=3000
*SECRET='SUPER_SECRET' # JWT Secret
*DATABASE_URL='postgres://blog-user:password@localhost:5432/blog-prod'
LOG_LEVEL='info'
DISABLE_LOGGING=false
MIT