Frontend Setup and Configuration¶
Prerequisites¶
- Node.js (v14 or higher)
- Git
Installation Steps¶
- Clone the Repository
- Install Dependencies
- Environment Variables
Create a
.envfile in the root directory:
NEXTAUTH_SECRET=your_auth_secret
AZURE_STORAGE_CONNECTION_STRING=your_azure_connection_string
DATABASE_URL=your_database_url
Database Setup¶
Prisma Configuration¶
- Set up the database schema in
prisma/schema.prisma - Generate Prisma client:
- Run migrations:
Development Scripts¶
Note
The frontend will not run without backend services, which also need to be set up. Click here for Backend Setup. Alternatively, view the Full Setup Guide for a comprehensive setup guide.