-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructions.txt
64 lines (39 loc) · 1.44 KB
/
instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
INSTRUCTION TO RUN PROJECT :
Software that should be install first in order to run project
1) Node js
2) Mongo DB
3) Chrome
4) Vs Code (Not neccessary)
Step 1 : Extract Folder
Step 2 : Open backend folder into VS Code.
PLEASE CONFIGURE ENVIROMENT VARIABLES IN backend folder . I GIVE AN EXAMPLE .env.example file. You need to add .env file and set this all variables.
Step 3 : Open terminal
Step 4 : Run command : npm install
Step 5 : Run command : npm run dev
Step 6 : Open fronend folder into VS Code.
Step 7 : Open terminal
Step 8 : Run command : npm install
Step 9 : Run command : npm run dev
Step 10 : Open chrome or other broswer and type : localhost:5173 and project run successfully...
ADMIN Credentails :
BEFORE LOGIN, FIRSTLY YOU NEED TO PASETE THIS documents into users collection :
{
"_id": {
"$oid": "64fea729cb871bf64c42010c"
},
"email": "[email protected]",
"fatherName": "Suresh Kumar",
"role": "Admin",
"password": "$2b$10$HmytXGhI64nyQnvKpB/xCutFxu11KHd/W29b50siqtxeH.9UaaUhO",
"accountStatus": "Active",
"__v": 0,
"name": "Rahul Kumar",
"imagePath": "uploads/1700306417988-465995069.png",
"updatedAt": {
"$date": "2023-11-18T11:20:18.692Z"
}
}
Email : [email protected]
Password : admin
Note : When admin create student or teacher then random password generate and email send to student or teacher
to inform that your account is created and your password is this and you can change password later.