To install Bun:
curl -fsSL https://bun.sh/install | bash
To install dependencies:
bun install
Create env file:
cp env.template .env
Adjust it if you need.
Migrate a database:
bunx prisma migrate dev
To run:
cd backend
bun run serve
With hot reloading:
cd backend
bun run serve:watch
To run in dev mode:
cd frontend
bun run dev
Example application exposes one query and two mutations.
You can sign up, sign in and query a list of users.
User's list is protected from unauthorized access.
Use Postman collection in the docs folder to test the API.