-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnote.txt
More file actions
34 lines (25 loc) · 916 Bytes
/
note.txt
File metadata and controls
34 lines (25 loc) · 916 Bytes
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
MVC-model view controller
1. npm init -y to create a node app
2. It create a package.json File.
3. We need package :-
- Mongoose - DB connect
- Express - node js framework (To make thing easy)
- Nodemon - server continuous run(changes detect)
- dotenv - to read the data from .env
- npm start by creating script in package.json
- Script - "start":"nodemon app"
username-test12@gmail.com
password-123
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0MGI5YjFkNmQ4ZGFkZjI4NzZkYWE4MCIsImlhdCI6MTY3ODQ4MjIyMiwiZXhwIjoxNjc5MDg3MDIyfQ.6TY3gJhHTs1VkZYSOsMk7en9dYMDPkVnvITBA2kn9Yk
username-test123@gmail.com
password-1234
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0MGI5Y2ZmOGY1NjZkZDhjMzEwZjNmNCIsImlhdCI6MTY3ODQ4MjcwOSwiZXhwIjoxNjc5MDg3NTA5fQ.eaI8fu-vATvdayiUhXLd9fbOyc3tWclrH2wxp06vxQI
# Response Format
```
{
"error": "Unauthorized access.",
"message": null,
"httpStatus": 401,
"data": null
}
```