- Update mysql connections in
DB.js
- To run on local;
npm install
thennpm start
- runs on localhost:3000
tasks web application using nodejs with expressjs framework and MySQL database
Create a new database containing the following tables: Class: with the columns: id, name, begins (date), ends (date) Student: with the columns: id, name, email, phone, class_id (foreign key) If you are done with the above tasks, you can continue with these advanced tasks: Create an index on the name column of the student table. Add a new column to the class table named status which can only have the following values: not-started, ongoing, finished (hint: enumerations).