- Make sure to have at least Node v20.
- Load
db.sql
into MySQL by runningmysql -u username -p < db.sql
. - Run
cp .env.example .env
and fill out the database credentials.- Additionally, add the
PORT
variable to override the default port (3000
) where the API will be attached.
- Additionally, add the
- Install all dependencies with
npm i
.
Compiles and runs the API without live-reload.
Runs the API with live-reload when any file changes.
The API documentation will be found in http://localhost:PORT/api
.