A lightweight web-application to plan your schedule.
- Frontend: SvelteKit
- CSS Framework: TailwindCSS, daisyUI
- Backend: Node.js
- ORM: Prisma
- Database: PostgreSQL
- Deployment: Docker
You need to have the following installed:
- Clone this repository
git clone https://github.com/ProfessorNova/focusflow.git
- Install dependencies with
npm install
- Create an
.env
in the project directory. It should contain the following:POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_DB=postgres DATABASE_URL="postgresql://postgres:postgres@localhost:42187/postgres?schema=public" ENCRYPTION_KEY="L9pmqRJnO1ZJSQ2svbHuBA=="
- Run
npx prisma generate
to generate the Prisma client. - Start database with
docker-compose up postgres -d
to start postgres database. - Start the development server with
npm run dev
. - Then migrate the tables with
npx prisma migrate dev