Giter VIP home page Giter VIP logo

danifromecuador / recipes Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 186 KB

This is a Server-side Rendering application (SSR) following the MVC architecture. After the user logs in, them can create or edit recipes, adding or removing ingredients, generating shopping list and sharing their recipes with all other users.

Home Page: https://my-recipe-app-d41m.onrender.com/

License: MIT License

Ruby 66.59% JavaScript 1.45% CSS 7.27% HTML 24.69%
postgresql rails render-deployment ruby

recipes's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– Recipes App

Recipes is a Ruby on Rails website that allows user's authentication and authorization, also the user can add foods recipes based on these foods, the recipes can be public or private, also edit and delete foods and recipes. Also if a recipe has more ingredients that there are in the foods pantry, the user can create a shopping list with the neccessary foods to buy.

๐Ÿ›  Built With

Tech Stack

Client

Key Features

  • The user should log in with a real email
  • The food pantry will have severals inventories

(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:

Install Git, Node, Ruby, Rails, PostgreSQL, if you have Linux or Mac, you can follow this tutorial

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone [email protected]:danifromecuador/recipes.git
  cd recipes

Usage

To run the project, execute the following commands, press enter after each line: Maybe you'll need to change the DB name and password to your own. (config/database.yml)

    bundle install
    rails db:drop
    rails db:create
    rails db:migrate
    rails s

After that, open a webpage in your favorite web browser at http://localhost:3000

Test

To test this project just enter this command:

  rspec

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Dani Morillo

๐Ÿ‘ค Alexandre Medina

(back to top)

๐Ÿ”ญ Future Features

    • Create pagination or infinite scroll if the lists are too long

(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 give me an star on my GitHub repo

(back to top)

๐Ÿ™ Acknowledgments

I would like to thank to The Odin Project for teaching me about Ruby

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

recipes's People

Contributors

danifromecuador avatar gersonhiggins avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

recipes's Issues

[2 pts] 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.

[2 pts] Public recipe list

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

[6 pts] tests

Write unit and integrations test for all models in your app

[2 pts] 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.

[2 pts] 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.

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.