- Node 18 LTS
- PNPM or BUN
- Clone the repository
git clone git@github.com:Luks3110/bitway-tech-assessment.git <project_name>
- Install dependencies
cd <project_name>
# backend
pnpm i
# frontend (you can use any package manager to be honest)
bun install
First, run the development server:
# backend
pnpm dev
# frontend
bun dev
Frontend: Open http://localhost:3000
Backend: Open http://localhost:8000
# frontend
bun run build
bun start
# backend
pnpm run build
pnpm start
pnpm run populate:employees &&
pnpm run populate:customers
Docker is in dev mode, Next.js is not building for production yet. Run the following commands to compose the containers:
docker compose -f "docker.compose.yaml" up -d --build
You can find the swagger of the backend at /docs