-
This project is a mock burger site inspired by Portland's Burger Week. Our site uses our Burger-API that populates the data using both factory bot and faker Ruby gems.
-
The site allows admin users to view, update and delete burgers at their own free will!
-
As for regular users, you can add, update and delete your own reviews for a burger!
-
View our live site via Heroku at Not!-PDX-Burger-Week.
- Ruby 2.6.3
- Rails 6.1.4
- Node.js
- Ruby gems
- HTML
- Bootstrap
- Scss
- Sass
- Postman
- Clone this repo:
https://github.com/chonnessey/pdx_burger_week.git
- Enter new directory
cd directory
- Install dependencies with the
bundle
command. - Create a server side database with the command
rake db:create
. - To run the Rails local server run the command
rails s
and then navigate tolocalhost:3000
. - Create an account by clicking the sign up link on the homepage.
- If you would like to give yourself admin access you can do so in the rails console. Run the command
rails c
to enter the console. - Find the user you created and look for the id by running
User.all
. - Once you find your id, save it into a variable ie:
admin = User.find(1)
. - Update your admin attribute to true like this
admin.update({:admin => "true"})
- Finally save your updated admin object with the command
admin.save
and you should be good to go! - Fill out the forms, explore and have fun!
- No Known Bugs.
- Please open a pull request if you have any issues!
You can reach us at:
- Adrian: [email protected] 🚀
- Michael: [email protected] 🚀
- Arthur: [email protected] 🚀
You can't steal what is freely given. Enjoy!
Made in Portland, Oregon.