.
├── app/ # Next.js app source (server actions, pages)
├── component/ # Global components
├── di/ # Dependency injection
├── src/ # Business logic (framework-independent)
├── store/ # Global state management
├── test/ # Test files
Follow these steps to set up and run the Beavr backend project:
Clone the project repository to your local machine:
git clone https://github.com/cordlesstuba/beavr-backend
Move into the project directory:
cd beavr-backend
Install all project dependencies:
pnpm install
Start the PostgreSQL database using Docker Compose:
docker-compose up -d
Run Prisma to apply the database migrations:
npx prisma migrate dev
Generate the Prisma client:
npx prisma generate
Seed the database with initial data:
npx prisma db seed
Start the backend development server:
pnpm run dev
The application will be available at: http://localhost:3000
If you prefer not to run the project locally, a hosted version is available at:
https://beavr-backend.vercel.app/
For a quick walkthrough, watch the demo video below:
Click on the thumbnail or here to view the video.
You are now ready to work on the Beavr backend test project. 🚀