This is the Diet planner website made using HTML,CSS and Javascript as front-end and NodeJS and express as backend. For data base I use MYSQL.
The code of MySQL in the "Data base" file. copy and paste in the MYSQL workbench
- First download the MySQL and setup it remeber the name of the data base "root" and password "123456789".
- Copy paste the code present in "Data base" file to your MySQL workbench.
- Run the all queries in MySQL ignore the queries like "Drop table ----";
-
Clone the project and open the terminal and install the following packages:-
-
npm install node.js
-
npm install mysql2
-
npm install express
-
npm install body-parser
-
npm install path
-
npm install nodmon
-
Now run "npm start" on terminal to run the program.
- Open any browser (prefer crome browser).
- In url tab write (http://localhost:5500/index.html).
- and you are all set.
This is our first project so their will be some minor issues.
Team member and their role
- Pushendra2020
- Role: Back-end and adding functionality.
- Soham
- Role: Front-end and designing the website.