Giter VIP home page Giter VIP logo

onebitfood's Introduction

OneBitFood

Project developed during the OneBitCode week (Ruby on Rails). mainGif

Technologies used in this project

Ruby Rails Next JS React HTML5 CSS3

Show

enter image description here

Database

enter image description here

How to run this project?

Thiso project was building using the backend as API, because of that after download, you need to open the onebitfood-apiand run rails s to start the backend API. After that, go to onebitfood-client and run yarn dev to start or front-end in React that will get the data from the API

  • The backend will be running on localhost:3000
  • The frontend will be running on localhost:3001

Development routine

May 10

- Project created in Rails;
- Ransack and rack-cors gems added;
 - Model Category created;
 - Model Restaurant created;
 - Model ProductCategory created;
 - Model Product created;
 - Model order created;
 - Default status to order added;
 - Migration runned;
 - Relashionship between models finished;
 - Validations added to models;
 - Controller Categories created;
 - Controller Restaurants created;
 - Controller Orders created;
 - Controller AvailableCities created;
 - Active Storage added;
 - Seeds added;
 - Added image to seed;
 - Fix bugs on API's endpoint
 - Filter with ransack gem added;
 - Filter by city and category added;
 - Action created on Order Controller;
 - Migration added to insert street to Order;
 - CORS used;
 - ** DAY ONE FINISHED **  -

May 12

 - Bug fixed on CORS;
 - Folder Refactored to allow backend and frontend in the same project;
 - Project with NextJS created;
 - SWR added;
 - React-icons, favicon added;
 - Variables added to manage colors on CSS;
 - Bootstrap imported;

May 13

 - @media added to perform responsive layout;
 - Header and Logo added;
 - Main page CSS and Logo CSS added;

May 14

 - Index page updated;
 - Typeriter component created;
 - useState and useEffect added;
 - Service folder with toCurrency and truncateString created;
 - Category title to OneBitFood API added;
 - getRestaurant on services added with SWR;
 - React Slick added;
 - getCategories added;
 - Search bar added;
 - Restaurant details added;
 - Category Products added;
 - Recoil implementation added;

May 15

 - Bug fixed on backend(API);
 - Cities modal added;
 - getAvailable cities added;
 - Modal added to force user to choose a city

onebitfood's People

Contributors

thiagohrcosta avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.