Skip to content

Xundan91/CSI-Tech-Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 

Repository files navigation

Project Setup Guide

Prerequisites

  • Node.js (v20 or higher)
  • npm
  • Database URL from NeonDB

Step-by-Step Setup

1. Clone Repository

git clone https://github.com/your-username/your-repo.git

2. Backend Configuration

# Navigate to backend
cd backend 

# Install dependencies
npm install

# Configure environment
cp .env.example .env

3. Database Setup

  1. Visit NeonDB Console
  2. Create new project
  3. Copy connection string
  4. Update .env:
DATABASE_URL="your-neondb-connection-string"

4. Initialize Database

# Run migrations
npx prisma migrate dev

5. Start Server

npm run dev

Server runs at http://localhost:3000

Troubleshooting

  • Ensure NeonDB connection string is correctly formatted
  • Check if all migrations are applied
  • Verify Node.js version compatibility(node -v) must be 22

About

This is Test Platform For CSI Next Event Techo-Pedia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages