You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# MERN-MVC-GEN
2
2
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.
4
4
5
5
## 📦 Installation
6
6
@@ -35,6 +35,14 @@ npm install merngen
35
35
- Check Password using `bcrypt`
36
36
- build-in authentication using `jwt` (`jsonwebtokens`)
37
37
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
38
46
39
47
## Indetails Functions
40
48
@@ -51,6 +59,14 @@ npm install merngen
51
59
- Returns a JWT token with user ID and role if authentication is successful
0 commit comments