{"id":15569896,"url":"https://github.com/thiagohrcosta/onebitfood","last_synced_at":"2026-04-11T10:36:32.345Z","repository":{"id":51666873,"uuid":"366067264","full_name":"thiagohrcosta/OneBitFood","owner":"thiagohrcosta","description":"Project developed during the OneBitCode week (Ruby on Rails).","archived":false,"fork":false,"pushed_at":"2021-05-16T00:50:50.000Z","size":13039,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T09:04:54.321Z","etag":null,"topics":["api","api-client","nextjs","rails","ransack","react","ruby","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thiagohrcosta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-10T14:16:38.000Z","updated_at":"2021-05-16T00:50:53.000Z","dependencies_parsed_at":"2022-08-22T03:40:28.824Z","dependency_job_id":null,"html_url":"https://github.com/thiagohrcosta/OneBitFood","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thiagohrcosta/OneBitFood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2FOneBitFood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2FOneBitFood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2FOneBitFood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2FOneBitFood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagohrcosta","download_url":"https://codeload.github.com/thiagohrcosta/OneBitFood/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2FOneBitFood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","nextjs","rails","ransack","react","ruby","sqlite"],"created_at":"2024-10-02T17:40:29.705Z","updated_at":"2026-04-11T10:36:32.316Z","avatar_url":"https://github.com/thiagohrcosta.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# OneBitFood\nProject developed during the OneBitCode week (Ruby on Rails).\n![mainGif](https://res.cloudinary.com/dloadb2bx/image/upload/v1621122897/Peek_15-05-2021_20-53_ljblcj.gif)\n\n## Technologies used in this project\n\u003cimg alt=\"Ruby\" src=\"https://img.shields.io/badge/ruby-%23CC342D.svg?\u0026style=for-the-badge\u0026logo=ruby\u0026logoColor=white\"/\u003e \u003cimg alt=\"Rails\" src=\"https://img.shields.io/badge/rails-%23CC0000.svg?\u0026style=for-the-badge\u0026logo=ruby-on-rails\u0026logoColor=white\"/\u003e \u003cimg alt=\"Next JS\" src=\"https://img.shields.io/badge/nextjs-%23000000.svg?\u0026style=for-the-badge\u0026logo=next.js\u0026logoColor=white\"/\u003e \u003cimg alt=\"React\" src=\"https://img.shields.io/badge/react-%2320232a.svg?\u0026style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB\"/\u003e \u003cimg alt=\"HTML5\" src=\"https://img.shields.io/badge/html5-%23E34F26.svg?\u0026style=for-the-badge\u0026logo=html5\u0026logoColor=white\"/\u003e \u003cimg alt=\"CSS3\" src=\"https://img.shields.io/badge/css3-%231572B6.svg?\u0026style=for-the-badge\u0026logo=css3\u0026logoColor=white\"/\u003e\n\n## Show\n![enter image description here](https://res.cloudinary.com/dloadb2bx/image/upload/v1620677659/oneBitShow_neps9t.png)\n\n## Database\n![enter image description here](https://res.cloudinary.com/dloadb2bx/image/upload/v1620677116/dbOneBitFood_ii3gmn.png)\n\n## How to run this project?\nThiso project was building using the **backend as API**, because of that after download, you need to open the `onebitfood-api`and 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\n\n - The backend will be running on `localhost:3000`\n - The frontend will be running on `localhost:3001`\n\n## Development routine\n\n**May 10**\n\n    - Project created in Rails;\n    - Ransack and rack-cors gems added;\n     - Model Category created;\n     - Model Restaurant created;\n     - Model ProductCategory created;\n     - Model Product created;\n     - Model order created;\n     - Default status to order added;\n     - Migration runned;\n     - Relashionship between models finished;\n     - Validations added to models;\n     - Controller Categories created;\n     - Controller Restaurants created;\n     - Controller Orders created;\n     - Controller AvailableCities created;\n     - Active Storage added;\n     - Seeds added;\n     - Added image to seed;\n     - Fix bugs on API's endpoint\n     - Filter with ransack gem added;\n     - Filter by city and category added;\n     - Action created on Order Controller;\n     - Migration added to insert street to Order;\n     - CORS used;\n     - ** DAY ONE FINISHED **  -\n\n**May 12**\n\n     - Bug fixed on CORS;\n     - Folder Refactored to allow backend and frontend in the same project;\n     - Project with NextJS created;\n     - SWR added;\n     - React-icons, favicon added;\n     - Variables added to manage colors on CSS;\n     - Bootstrap imported;\n\n**May 13**\n\n     - @media added to perform responsive layout;\n     - Header and Logo added;\n     - Main page CSS and Logo CSS added;\n\n**May 14**\n\n     - Index page updated;\n     - Typeriter component created;\n     - useState and useEffect added;\n     - Service folder with toCurrency and truncateString created;\n     - Category title to OneBitFood API added;\n     - getRestaurant on services added with SWR;\n     - React Slick added;\n     - getCategories added;\n     - Search bar added;\n     - Restaurant details added;\n     - Category Products added;\n     - Recoil implementation added;\n\n**May 15**\n\n     - Bug fixed on backend(API);\n     - Cities modal added;\n     - getAvailable cities added;\n     - Modal added to force user to choose a city\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagohrcosta%2Fonebitfood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagohrcosta%2Fonebitfood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagohrcosta%2Fonebitfood/lists"}