A full-stack web application that allows users to create and "eat" new varieties of burgers. Data is persisted in a MySQL database, allowing users to interact with one another's submissions. The MVC design pattern is implemented, including a manually created ORM.
- MySQL
- Node.js
If you would like the view the site from a user's point of you, you have the option of viewing the site on Heroku. It is located at http://eat-dat-burger.herokuapp.com.
If you would like to run the application locally, please ensure that you have installed the Prerequisites, then take the following steps:
- Clone this repository to your local machine with
git clone
- Install NPM dependencies by running
npm install
in the project directory. - Set up the database from a graphical user interface or from the command line interface.
- GUI
- Run
schema.sql
andseeds.sql
in your preferred MySQL GUI.
- Run
- CLI
- Navigate to
./db
. - Run
mysql -u root -p
.- Replace
root
with your MySQL username if needed. - Omit
-p
if the user does not have a password.
- Replace
- Enter your password (if needed).
- Run
source schema.sql
. - Run
source seeds.sql
.
- Navigate to
- GUI
- If you use a MySQL username other than
root
or have a MySQL password, openconfig/connection.js
and update these values on lines 12 and 13. - Ensure that you are in the root project directory, then run
node server.js
. - The application will be running at
localhost:3000/
- Bootstrap (Front-end framework)
- DataGrip (Database GUI)
- Express.js (Server framework)
- Handlebars (Templating engine)
- Heroku (Cloud platform)
- JawsDB (Heroku database add-on)
- MySQL (RDBMS)
- Node.js (Javascript environment)
- WebStorm (Javascript GUI)
Mich Elliott - mchlltt
This project is licensed under the MIT License - see the LICENSE file for details.