A web application using javascript for the frontend and Rails API to manage the backend.
https://github.com/EvanRPavone/favorite-breweries-backend
- Shows fetch requests using AJAX with API
- Uses JavaScript to make HTML and CSS elements
- Allows user to view breweries
- Allows user to add new breweries and favorite beers
Backend
- Clone this repo
- cd into favorite-breweries-backend and run bundle
- This backend uses postgres, to setup postgres go here: https://github.com/learn-co-curriculum/wsl-setup#advanced-topics-postgresql-setup-optional
- Run rails db:create, rails db:migrate, and if you want rails db:seed
- Start the server by running rails s
Frontend
- Open another tab in the terminal and cd into favorite-breweries-frontend
- Type open index.html to open the index page in the browser
- Mess around with the page and Have fun