https://github.com/ricopella/eat-da-taco
Full-Stack application utilizing Node, Express, MySQL, and Handlebars
https://github.com/ricopella/eat-da-taco
express handlebars heroku javascript mvc-framework mysql nodejs orm
Last synced: 2 months ago
JSON representation
Full-Stack application utilizing Node, Express, MySQL, and Handlebars
- Host: GitHub
- URL: https://github.com/ricopella/eat-da-taco
- Owner: ricopella
- Created: 2017-08-07T04:41:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-15T06:48:30.000Z (over 7 years ago)
- Last Synced: 2025-01-19T23:44:07.644Z (4 months ago)
- Topics: express, handlebars, heroku, javascript, mvc-framework, mysql, nodejs, orm
- Language: CSS
- Homepage: https://whispering-tor-15358.herokuapp.com/
- Size: 168 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eat-Da-Taco
### Overview · [](http://makeapullrequest.com)
* Eat-Da-Taco! is a restaurant app that lets users input the names of tacos they'd like to eat.
* Whenever a user submits a taco's name, it's displayed in the `Ready to Eat` section -- waiting to be devoured.
* Each taco in the waiting area also has a `Devour it!` button. When the user clicks it, the taco will move to the `Devoured` section.
* Each taco's created date can be viewed by hovering over the taco name
* Every taco is saved in a database, whether devoured or not.
## Installation
1. `git clone` the repository to your local computer
2. `git bash` into the directory created by the clone
3. Run `npm install`
4. Run `schema.sql` in appropriate MySqQL database
5. Update connection string to reflect credentials for your DB instance
6. **[optional]** run seeds.sql in appropriate database to get prepopulated data for app#### Dependencies
List of required dependencies which can be gathered by `npm install` once repository is cloned
```
{
"dependencies": {
"body-parser": "^1.17.2",
"express": "^4.15.4",
"express-handlebars": "^3.0.0",
"method-override": "^2.3.9",
"mysql": "^2.14.1"
}
}
```#### Directory Structure
```
.
├── config
│ ├── connection.js
│ └── orm.js
│
├── controllers
│ └── taco_controller.js
│
├── db
│ ├── schema.sql
│ ├── schemaHeroku.sql
│ └── seeds.sql
│
├── models
│ └── taco.js
│
├── node_modules
│
├── package.json
│
├── public
│ ├── assets
│ │ ├── css
│ │ │ └── normalize.css
│ │ │ └── normalize.css
│ │ │ └── taco_style.css
│ │ │ └── reset.css
│ │ └── img
│ │ └── taco-.png
│
├── server.js
│
└── views
├── index.handlebars
└── layouts
└── main.handlebars
```
# Packages Used* [Node.JS](https://www.npmjs.com/)
* [MySQL](https://www.npmjs.com/package/mysql)
* [Express](https://www.npmjs.com/package/express)
* [Handlebars](https://www.npmjs.com/package/express-handlebars)
* [MySQL](https://www.npmjs.com/package/mysql)
* [Heroku](https://www.npmjs.com/package/heroku)# History
Created on 8/13/17
# License
MIT