-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
23 lines (23 loc) · 1.08 KB
/
package.json
File metadata and controls
23 lines (23 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "coursea",
"version": "1.0.0",
"description": "- Initialize a new Node.js project\r - Add Express, jsonwebtoken to it as a dependency\r - Create index.js\r - Add route skeleton for user login, signup, purchase a course, see course\r - Add routes for admin login, admin signup, create a course, delete a course, delete a course, add course content.\r - Add middlewares for user and admin auth\r - Add a database (mongodb), use dotenv to store the database connecting string\r -Define the schema for User, Admin, Course, Purchase\r - Complete the routes for user login, signup, purchase a course, see course (Extra points - Use express routing to better structure your routes)\r - Create the frontend",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^6.0.0",
"cookie-parser": "^1.4.7",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.15.0",
"nodemon": "^3.1.10",
"zod": "^3.25.28"
}
}