To install the needed dependencies simply run:
bun install
To start the database instance run:
docker compose up
# or
docker-compose up
this will start our postgresql database, so wait for it to be ready and then run the migrations.
We need to run the migrations to create the database tables. Run the following command to run the migrations:
bun run migrate
After all the steps we should be ready to run the project, to start the server run:
bun run dev
and you should see this message in the console:
🦊 Elysia is running at localhost:3000
To access the API docs, go to:
http://localhost:3000/swagger