Skip to content

Commit fc5f2dd

Browse files
committed
Update README.md
1 parent 469d920 commit fc5f2dd

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MERN-MVC-GEN
22

3-
- A helper toolkit for fast MERN MVC development. Easily generate controllers and integrate authentication functions like signup and signin.
3+
- A helper toolkit for fast MERN MVC development. Easily generate controllers and integrate authentication functions like signup and signin and also auth and Image Upload Middlewares.
44

55
## 📦 Installation
66

@@ -35,6 +35,14 @@ npm install merngen
3535
- Check Password using `bcrypt`
3636
- build-in authentication using `jwt` (`jsonwebtokens`)
3737

38+
### AuthMiddleware
39+
40+
- Check the authentication before access the route
41+
- must provide a login token for this
42+
43+
### ImageUpload Middleware
44+
45+
- helps to upload images in Project
3846

3947
## Indetails Functions
4048

@@ -51,6 +59,14 @@ npm install merngen
5159
- Returns a JWT token with user ID and role if authentication is successful
5260

5361

62+
### AuthMiddleware
63+
64+
- Must need login token to run this fucntion
65+
66+
### ImageUpload Middleware
67+
68+
- image uploading (jpeg, png, gif) only accept
69+
5470
## 🔐 Security Practices
5571

5672
- Passwords hashed using bcrypt

0 commit comments

Comments
 (0)