CookSmart is an Angular-based application that helps users plan, track, and order meals based on their preferences. It uses Node.js and MongoDB for secure and efficient database access, and offers payment processing and delivery management. Overall, it provides a convenient and user-friendly way to manage meals and groceries.
User Cook Smart is an Angular-based application that helps users plan, track, and order meals based on their preferences. The user also can make test to have a weakly plan for his meals . This application provides a convenient and user-friendly way to manage meals and groceries, allowing users to sign up, log in, browse meals, add them to a cart, and proceed to checkout. Additionally, there is a cheif role to create meals and approve orders of his meals from user.
The MealPlanner Managment System has two Roles Like Chief
, and user
.
- Authuntication
- Reset Password
- Email Verification
- Roles and Perimissions
- Total Revenue of each user orders
- Chart Statistics
- Stripe Payment
- Meal browsing: Users can view a list of available meals.
- Cart management: Users can add meals to their cart and manage the items in the cart.
- Recommendation
To install and run User Cook Smart locally, follow these steps:
- Clone the repository:
- git clone https://github.com/omar456-asc/CookSmart - cd CookSmart
- BACK-END INSTALLATION
- cd backend - cp .env-example .env - npm install
Run Back-End Servernodemon main.js
- FRONT-END INSTALLATION
- cd frontend - npm install - ng serve -o
The following technologies were used in the development of User Meal Planner:
- Angular: A front-end web application framework used for building the user interface.
- Node.js: A JavaScript runtime used for server-side development.
- MongoDB: A NoSQL database used for storing and retrieving data efficiently.
- Stripe: A payment processing platform used for secure and seamless payment transactions.
- Express.js: A web application framework for Node.js used for building the server-side application and APIs.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript for improved developer productivity and code quality.
- Bootstrap: A popular CSS framework used for responsive and mobile-first web development.
METHODS | URI | ACTIONS |
---|---|---|
POST | /api/user/signup |
Register |
POST | /api/user/login |
login |
PUT | /api/user/update-data |
Update data |
PUT | /api/user/ |
Get all users |
DELETE | /api/user/:id |
Delete a user by ID |
POST | /api/stripe/ |
Make a payment |
GET | /api/meals/ |
Get All Meals |
PUT | /api/meals/:id |
Get meal by ID |
GET | /api/meals/search/:key |
Search for a meal by keyword |
POST | /api/meals/:id |
Add a new rating for a meal |
DELETE | /api/meals/:id |
Delete Meal By ID |
POST | /api/meals/ |
Add a new meal |
PUT | /api/meals/:id |
Edit a meal |
GET | /api/orders/ |
Get all orders |
POST | /api/orders/ |
Create a new order |
GET | /api/orders/:id |
Get an order by ID |
PUT | /api/orders/:id |
Update the status of an order |
POST | /api/cart/:id |
Add an item to the cart |
GET | /api/cart/:id |
Get the user's cart |