Skip to content

Commit 2729bfc

Browse files
authored
merge: pull request #14 from mukeshdhadhariya/feature/auth-flow
feat(backend): Setup Express Backend with MongoDB, User, Role, Permission Models & U…
2 parents dac45f6 + bfaec1c commit 2729bfc

File tree

10 files changed

+1619
-28
lines changed

10 files changed

+1619
-28
lines changed

.env.example

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
PORT=5000
22
MONGO_URI=mongodb://localhost:27017/rbac
3-
JWT_SECRET=your-secret-key
3+
JWT_SECRET=your-secret-key
4+
5+
CORS_URL=
6+
REFRESH_TOKEN_SECRET=

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
node_modules
1+
node_modules
2+
3+
.env
4+
.env.*.local
5+
.env.local
6+
7+
/dist/
8+
/build/

0 commit comments

Comments
 (0)