Code Monkey home page Code Monkey logo

prantoshb / food-on-rails Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 3.61 MB

Food-On-Rails is a website for managing food inventory and creating/publishing recipes, built with Ruby on Rails and PostgreSql. It uses Devise and CanCanCan for authentication and authorization, and features an intuitive interface for easy food management and recipe sharing. Ideal for food enthusiasts seeking organization and recipe inspiration.

Home Page: https://food-on-rail.onrender.com/

License: MIT License

Ruby 65.79% JavaScript 1.04% CSS 8.61% HTML 24.56%

food-on-rails's Introduction

Food On Rails ๐Ÿฅ™

๐Ÿ“— Table of Contents

๐Ÿฅ™ Food On Rails

Food-On-Rails is a website that allows users to manage their food inventory and create and publish recipes. Authentication and authorization are implemented using the Devise and CanCanCan gems respectively. Built with Ruby On Rails programming language and PostgreSql database. The website provides an intuitive interface for users to easily add food items to their inventory and create and share recipes with others. It's a perfect solution for food enthusiasts looking to organize their ingredients and discover new recipes.

๐Ÿ›  Built With

Tech Stack

Server
Database

Key Features

  • Use database migrations
  • Food web app

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

 gem install rails

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone [email protected]:PrantoshB/Food-On-Rails.git

Install

Install this project with:

  cd my-project
  bundle install

Usage

To run the project, execute the following command:

  rails server

Run tests

To run tests, run the following command:

  rails rspec spec

(back to top)

Preview

Preview

image image image image

๐Ÿš€ Live Demo

Test Account -email: [email protected] -password: test123

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Dicko Allasane

๐Ÿ‘ค Prantosh Biswas

๐Ÿ”ญ Future Features

  • Create apiv1 end-point
  • Use OAuth

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

If you like this project, please leave a start to support

(back to top)

๐Ÿ™ Acknowledgments

I would like to thank Microverse for this great learning experience !

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

food-on-rails's People

Contributors

trast00 avatar prantoshb avatar

Stargazers

Niko Roberts avatar Musweu Munyima avatar Lucas David Erkana avatar Claudia  P. R. Soto avatar Gilbert Mutai avatar Lincoln Gibson avatar JOSE RM avatar Abeera Tahir avatar  avatar

Watchers

 avatar

food-on-rails's Issues

[2 pt] Create recipes list

  • Should display a list of recipes created by the logged-in user as in the wireframe.
  • Should lead to recipe details.
  • If the user is the owner of the recipe, should allow the user to delete it.

[1.5pts] General shopping list

  • Should show the list of food that is missing for all recipes of the logged-in user (compare the list of food for all recipes with the general food list of that user).
  • Should count the total food items and total price of the missing food.

[2pts] Food list

  • Should display a list of food added by the logged-in user as in the wireframe (display also quantity of a given food).
  • Should lead to a form that allows users to add new food.
  • Should be able to delete food

[1pts] Public recipe list

  • Should display a list of all public recipes ordered by the newest as in the wireframe.
  • Should lead to recipe details.
  • Should display only public recipes

[2 pt] Recipe Details

  • Should display a toggle button that allows for a recipe to be made public or private.
  • If the recipe is public or the user is the owner of the recipe, should display the recipe details as in the wireframe.
  • If the user is the owner of the recipe, should lead to the form that allows the user to add new food.

[2pts] Test for foods

Write unit and integration tests for:

  • foods
  • General shopping list
  • Public recipe list

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.