An MVC Burger Logger with MySQL, Node, Express, Handlebars and a homemade ORM.
This app was developed as part of the full stack homework assignment at the University of Toronto Full Stack Web Development bootcamp. The implemenation involves usage of MySQL for data persistance, Node.js and Express.js for server-side code and logic handling, Handlebars for HTML templating and a custom ORM for robust communication with the database.
- Download and Install the latest version of Node.js on you computer.
- Download and Install MySQL Community Server. Create a database login with "root" as the username and set the database server to run on the port 3306 (3306 is the default port). For development and demo purposes, the password should be changed to an empty string (
""
) using the command on line 7 in the schema.sql file. Make sure the server is up and running before executing the app.
Please note that this app was developed using Node v8.11.4.
- Either download the zipped project from GitHub or clone the repo into your local machine. The rest of the steps need to be executed on the Terminal:
- Cd into the directory burger.
- To install all the dependency packages in the project locally, run:
npm install
- To create the database and tables as well as seed the database with 'mock' data, execute:
npm run-script initializeLocalDb
- To run the app, execute:
node server
ornode server.js
ornpm run-script start
If help is needed to understand something in the app or just to provide feedback/suggestion, please send an email to [email protected]
Muntasir Biojid - GitHub Profile