A boilerplate project for building REST API.
- Server: Express.js
- Query Builder: Knex
- Auth: passport-jwt
- Validator: Zod
Clone the repository and install the dependencies with
yarn install
Copy the env file and edit the variables accordingly
cp .env.example .env
Apply the migrations
yarn knex migrate:latest
Seed the database
yarn knex seed:run
yarn dev