An open API service indexing awesome lists of open source software.

https://github.com/chrisneal72/12_burger_2

An Express app using SQL
https://github.com/chrisneal72/12_burger_2

bootstrap4 expressjs handlebarsjs json mysql nodejs sequelize-cli

Last synced: 2 months ago
JSON representation

An Express app using SQL

Awesome Lists containing this project

README

          

# 12_Burger_2

### Table of Contents
- [Description](#Description)
- [Technologies-Libraries](#Technologies-Libraries)
- [Screenshots](#Screenshots)
- [Link](#Link)

### Description
This assignment is a build upon the previous assignment. In this version we replaced our own orm with Sequelize. I also chose to update the look to look like a burger for a little fun.

We using SQL as a database and we are using Sequelize to pass the data into the database. The process is to create a new Burger which creates an entry in the database and returns that entry back to the page using handlebars to render. Once on the page it shows up in a list of burgers. There is an option to devour the burger which will then move that burger to the devoured list on the right. This is setting a boolean value in the database for that item, devoured will now be true. From there the burger can be deleted, this will delete the entry from the database.

### Technologies-Libraries
- [NodeJS](https://nodejs.dev/) - Server side code
- [inquirer](https://www.npmjs.com/search?q=inquirer) - User inputs on the command line
- [mysql](https://www.mysql.com/) - MySQL DB
- [handlbars](http://handlebarsjs.com/) - Handlebars template

### Screenshots

![Image](app/public/assets/images/BBSequel.jpg)

### Link
Check it out!

https://guarded-brushlands-71375.herokuapp.com/

https://github.com/chrisneal72/12_Burger_2