Burger-Apps is a burger logger with MySQL, Node, Express, Handlebars and a homemade ORM (yum!). This Burger Apps has followed the MVC design pattern; used Node and MySQL to query and route data in our app, and Handlebars to generate our HTML.
This project uses 3 npm packages:
- express
- express-handlebars
- mysql To install necessary dependencies, run the following command:
npm install express --save
npm install express-handlebars
npm install mysql
All the recommended files and directories from the steps above should look like the following structure:
.
├── config
│ ├── connection.js
│ └── orm.js
│
├── controllers
│ └── burgers_controller.js
│
├── db
│ ├── schema.sql
│ └── seeds.sql
│
├── models
│ └── burger.js
│
├── node_modules
│
├── package.json
│
├── public
│ └── assets
│ ├── css
│ │ └── burger_style.css
│ └── img
│ └── burger.png
│
│
├── server.js
│
└── views
├── index.handlebars
└── layouts
└── main.handlebars
To run tests, run the following command:
npm start
The license is MIT standard license.
It is an open project and everyone can contribute - please send an email requesting to be added as a contributor
The URLs of the deployed applications in Heroku
The URLs of the deployed applications in Annisa Website
If you have any questions about the repo, open an issue or contact annisapf directly at a.purbandari@gmail.com.