Skip to content

22vedant-org/p2p

Repository files navigation

Getting Started

Database Setup

First, set up a PostgreSQL database using one of these options:

  • Start a PostgreSQL instance in Docker:
    docker run --name postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
  • Or grab a free PostgreSQL database instance from Aiven or Neon

Environment Configuration

Copy the example environment file and configure your environment variables:

cp .env.example .env

Edit the .env file and add the required variables, especially your database connection string.

Database Migration

Run the Prisma migration to set up your database schema:

yarn prisma migrate dev

Starting the Development Server

Run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the application.

Testing

For testing purposes, you can use the following credentials:

Email: [email protected]
Password: password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages