Boulangerie Brasileira is an app for local bakeries to sell their pastry online.
A project created during our coding bootcamp with the help of Rails, Cloudinary and Unsplash API's. Boulangerie Brasileira
- Rails (rails 6.0.3);
- Ruby (ruby 3.0.0)
- psql (PostgreSQL 12.4) - database;
- pundit (2.1.1) - authorization;
- devise (4.8.0) - for user authentication;
- cloudinary (1.16.1;)
-
- clone the project and create your own repository:
git clone git@github.com:karcagigergo/boulangerie-brasileira.git --origin challenge-api your-project-name your-project-name git init . git add . git commit hub create
- clone the project and create your own repository:
-
- install dependencies:
bundle install yarn install
- install dependencies:
-
Create a profile and choose whether you are a customer, who buys, or a bake who sells.
-
In a case when you are a customer, you only can buy products by putting them into your basket and do a checkout.
-
If you're a baker, you can add your products to the product page and sell them. CRUD manipulation is also available but only on your own products!
-
Upon uploading your pastries (or other food) you need to choose a name, a price, a description, available quantity and a photo for it.
-
📌 Option A: If you'd like your own photo, you can upload it and it will be shown on the products#index and also product#show pages (thanks to Cloudinary API).
-
📌 Option B: You don't necassarily have to upload your own photo.According to the name given to your product, the web application will fetch data (in this case a picture) through the Unsplash API, and automatically upload a picture for your product. (Just make sure that you spell the name correctly and it's in english)
This application was made by Sebastien Prat, Eduardo Scovino, and Gergő Karcagi as a part of our 6 month bootcamp at Le Wagon - RJ, Batch #540
This Rails app was generated with lewagon/rails-templates, created by the Le Wagon coding bootcamp team.