-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
57 lines (36 loc) · 877 Bytes
/
Readme.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
MongoDB
Online
DB Username: kwaski
Pass: ValarMOrghulis
DB Name: SurveyDatabase
mongodb+srv://kwaski:ValarMOrghulis@cluster0.g7dsq.mongodb.net/SurveyDatabase?retryWrites=true&w=majority
mongo "mongodb+srv://kwaski:ValarMOrghulis@cluster0.g7dsq.mongodb.net/SurveyDatabase?retryWrites=true&w=majority"
RUN Mongo Server
mongod
View Collections
mongo
show dbs
use *
show collections
db.*.find()
All Api
For Users
Register
localhost:3000/api/users/register
Login
localhost:3000/api/users/login/
Get All User List
localhost:3000/api/users/allusers
For Clients
Register
localhost:3000/api/clients/register
Login
localhost:3000/api/clients/login/
Get All User List
localhost:3000/api/clients/allusers
For Survey
Post Survey
localhost:3000/api/survey/postsurvey/
Get All Survey List
localhost:3000/api/survey/allsurveys
//JSON Web Token Secret Key = ValarMorghulis