La Bodega is an app that emulated the experience of shopping at your neighborhood bodega/ corner store deli. La Bodega talks to it's backend La Bodega API which contains seeded instances of produce and the ability to manipulate a customer's cart found in the controllers.
This is a Ruby on Rails API created using ActiveRecord.
- Use your terminal to navigate into the place where you want to clone La Bodega API's directory and
git clone
the url. - In terminal run
bundle install
in order to install the necessary gems needed to run the backend. - Run command
rails db:migrate && rails db:seed
in order to set up the tables and the necessary seeded files. - Finally, run
rails s
and copy the url in your terminal (more than likely localhost:3000) and open up your browser using the url in order to having a running server that La bodega can make requests to.
La Bodega API is needed in order to accept HTTP requests from it's frontend La Bodega. This allows users to:
- Create, read, and update their accounts with the help of JavaScript Web Tokens and Bcrypt.
- Manipulate a user's cart by adding, deleting, and updating cart item instances.
- Have access to seeded produce and their categories.
- Tess Neau
- Daniela Sandoval
La Bodega API requires ActiveRecord and gems such as CORS, JWT, and Bcrypt.
This project is licensed under the Learn.co Educational Content License. Please read LICENSE.md
location in the directory or click on the following link (http://learn.co/content-license) for further details.