- Linux/macOS (windows currently not supported)
- NodeJS (to install BunJs via NPM)
npm i -g bun
bun install
bun run dev
bun run prod
bun run sync
- DB_HOST=
- DB_PORT=
- DB_USERNAME=
- DB_PASSWORD=
- DB_NAME=
- JWT_SECRET=
- JWT_LIFETIME=
- POST
/signup
: Sign up a new user - POST
/login
: Log in to get an access token - PATCH
/change-password
: Change user password - GET
/users
: Get all users - GET
/users/:id
: Get a single user - PATCH
/users/:id
: Update an user - DELETE
/users/:id
: Delete an user - GET
/check-health
: Check if the API is up - GET
/translate-mock
: Make use of language headers to return response in a requested language if supported
! NOTE: the above variables should be included within a .env
file at the root of the project