Getting Started
This guide will help you set up and run the project locally.
Prerequisites
Before starting, make sure you have the following installed:
- Bun
- PostgreSQL or another supported database
- Git
Clone the Repository
git clone https://github.com/Kivy-Infoeducatie/Kivy-Backend.git
cd your-repo-name
Install Dependencies
npm install
# or
yarn install
# or
bun install
Environment
Create a .env
file and fill it with the proper information:
JWT_SECRET="secret"
DB_URL="postgres://user:password@localhost:5432/databse"
GEMINI_API_KEY="API_KEY"
GEMINI_MODEL="gemini-1.5-flash-002"
Pushing Database Schema
When first creating a database or after modifying the existing schema, run the following command:
bun migrate
Last updated on