-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) Β· 2.24 KB
/
package.json
File metadata and controls
29 lines (29 loc) Β· 2.24 KB
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
{
"name": "grocery-app",
"version": "1.0.0",
"description": "A simple **Grocery Management Application** with a **Node.js backend** and **MySQL database**. The app allows users to login, view grocery items, add them to their cart, and track orders.\r ```\r ## π Project Structure\r E-MART/\r βββ config/\r β βββ db.js # Database configuration (MongoDB/MySQL)\r βββ node_modules/ # Installed dependencies (auto-generated)\r βββ public/ # Static files (frontend)\r β βββ cart.html # Shopping cart page\r β βββ grocery.html # Grocery items page\r β βββ index.html # Homepage\r β βββ signup.html # User registration page\r βββ routes/\r β βββ api.js # Grocery item API routes\r βββ views/ # HTML templates (if using server-side rendering)\r β βββ cart.html # Duplicate? (Move to `public/` if client-side)\r β βββ home.html # Shared header template\r β βββ home.css # Homepage styles\r β βββ index.html # Duplicate? (Consolidate with `public/index.html`)\r β βββ grocery.css # Login page styles\r β βββ login.html\r β βββ login.css # Login page template\r βββ server.js # Backend entry point (Express.js)\r βββ package.json # Project metadata and dependencies\r βββ package-lock.json # Auto-generated dependency tree\r βββ README.md # Project documentation\r ```",
"main": "auth.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sylesh7/E-Mart.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"bugs": {
"url": "https://github.com/sylesh7/E-Mart/issues"
},
"homepage": "https://github.com/sylesh7/E-Mart#readme",
"dependencies": {
"body-parser": "^2.2.0",
"express": "^5.1.0",
"mysql": "^2.18.1",
"mysql2": "^3.14.0"
},
"devDependencies": {}
}