Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# aptitude-test

Create a website when a school student user comes, signs up using their information, pays Rs 1000 fee and gives an aptitude test of 2 horus based on their convinience

# Setting up the project locally

### Step1: Installing the dependencies

```
npm install
```

### Step2: Copy .env.sample to .env

### Step3: Update all the .env variables with the generated keys/ values

#### 1. Create database and Update DB URL

#### 2. Create Google client ID and client secret from this url https://console.cloud.google.com/apis/credentials

#### 3. Create Github client ID and client secret from this url https://github.com/settings/developers#oauth-apps

#### 4. Create Discord client ID and client secret from this url https://discord.com/developers/applications/

### Step4: Migrate Prisma schema to generate tables

```
npx prisma migrate dev
```