Requisites for the project
- Express
- Bootstrap
- body-parser
- node-mysql
- popups
- ejs
Do npm install for all the above packages or npm install from package.json dependencies.
Then you have to install mysql server according to your platform. After that, Do the following
- Open cmd prompt and type mysql user:root pass: root
- Create database mydb;
- Use mydb;
- create table mytable1 (email VARCHAR(20), pass VARCHAR(20));
- create table found (item varchar(20),descr varchar(200),fname varchar(20),email varchar(20),phone varchar(20),foundon varchar(10));
keep it running. Now open the nodejs project in another cmd prompt and do
node app.js
Thanks, Athul