- Uses a custom made ORM to interact with MySQL database
- When user submits a burger, a new burger model is created in database
- When user 'devours' a burger they've created, it is updated accordingly in db
- Install npm packages:
npm i mysql express express-handlebars
- Create database in MySQL using the provided schema in
db
directory- Prepopulate with data from seed.sql file (optional)
- Be sure to update
config/connection.js
with your specific MySQL configuration - Run
node server
in terminal and openlocalhost:8080
(or your configured server port) in your browser.
Currently deployed with Heroku
- Enter a burger you want to eat and it will be displayed in the left column.
- Click
Devour
next to any existing burger to Devour it. It will be moved to the right 'Devoured Burgers' column.
Contributions welcome!
- Fork this repository
- Create a new branch
- Commit/push your changes
- Create a new pull request
If you have any questions, feel free to create an Issue or contact me directly at dore.joel.dore@gmail.com
This project is MIT licensed.
© 2020 Joel Dore