Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

freeCodeCamp/event-calendar

Tech Event Calendar

Contributing

Prerequisites

  • pnpm
  • PostgreSQL (see below)

Initial setup

cp sample.env .env
pnpm install

Create and migrate the database

If using Docker:

docker run --name tech-event-calendar-db --env-file .env -p 5432:5432 -d postgres

If not using Docker, you need to create a PostgreSQL database named tech-event-calendar and configure it as specified in sample.env. Once that exists, put the connection string in .env.

To migrate the database:

pnpm prisma migrate deploy

Start the server

pnpm run dev