Coder Social home page Coder Social logo

zunairkhan811 / food-recipe Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 194 KB

In this project, Food recipes is made based on the logged in user and generate the shopping list for that items which are missing for recipes. App has the authorization and authentications features. A user can create and delete recipes if he is the owner of that Recipe.

License: MIT License

Ruby 66.12% JavaScript 2.36% CSS 0.62% HTML 26.53% Batchfile 2.43% Shell 0.16% Procfile 0.06% Dockerfile 1.73%
authentication authorization bootstrap5 bullet cancancan capybara-rspec devise postgresql rspec-rails ruby-on-rails

food-recipe's Introduction

logo

Hi ๐Ÿ‘‹, I'm Muhammad Zunair khan

A passionate Full stack developer from Pakistan

coding

zunairkhan811

zunairkhan811

  • ๐Ÿ”ญ Available for accepting new coding challenges

  • ๐ŸŒฑ Passion for learning new things

  • ๐Ÿ‘ฏ Iโ€™m looking forward for Full-time job as a Software Developer

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at https://zunairkhan811.github.io/portfolio/

  • ๐Ÿ“ซ How to reach me [email protected]

  • ๐Ÿ“„ Know about my experiences [I have 1+ year of experience in Coding as a freelance developer]

  • โšก Fun fact I am funny ๐Ÿ˜‰โค

Connect with me:

zunairkhan811 in/zunairkhan811 https://www.hackerrank.com/zunairkhan811 https://leetcode.com/zunairkhan811/

Languages and Tools:

bootstrap css3 git html5 javascript mongodb mysql nodejs postman pug python rails react ruby sass

zunairkhan811

ย zunairkhan811

zunairkhan811

food-recipe's People

Watchers

 avatar

food-recipe's Issues

[3pt] Create Recipe Model

Create a Recipe model and it should have a name, preparation time, cooking time, and public attributes. It should have references to User model and also set foreign key for cooking time column that will reference to recipe Id column in Recipe Food model.

[3pt] Create 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.

[2pt] Create Recipe Food Model

  • Create Recipe Food model. It should have Quantity attribute and it should take references from Recipe model and reference key should be cooking time column and it should also take reference from Food model and reference key should be Measurement unit column in Food model.

[3pt] Fix N+1 queries

  • Make sure there are N+1 queries in your project. You can use bullet gem for that.

[3pt] Create a Recipe List

  • Should display a list of recipes created by the logged-in user as in the wireframe.
  • Should lead to recipe details.

[3pt] Create General shopping list view

  • 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.

[3pt] Create 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.

[3pt] Create Food Model

Create Food model and it should have name, measurement unit, price, quantity attributes and it should take references from User model.

[3pt] Create Public recipe list

  • Should display a list of all public recipes ordered by newest 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.

[2pt] Create User Model

Create a User Model. The user model should have name and email attributes and validation should be done by email. Also, set associations for the user model.

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.