Skip to content

AlexanderJWard/recipe-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Book

Recipe Book is a recipe-sharing site where foodies can share their favourite meals with other members of the community. With the ability to comment and like posts users are encouraged to engage with each other and share the love of food.

image

Table of Contents

UX

Site Purpose:

The purpose is to bring people together to share new foods and encourage people to discover new recipes and make new friends by exploring new posts.

Site Goal:

The goal is to create a friendly environment where anyone with an interest in cooking can discover and connect with interesting people and delicious foods.

Audience:

Anyone who has an interest in food or cooking of any sort is looking for new things to try or people to meet. People of any age or gender who have a shared interest in the food world and skilled people giving their thoughts and recipes to the community.

Communication:

The site is laid out like a social media website allowing users to scroll through new posts, like and comment on things they enjoy or follow people with similar tastes or experiences.

Current User Goals:

Users will want to save posts to try later or just to follow influential people who are making the food they enjoy, they will want to keep checking in to see their favourite people post new and exciting things to try in the kitchen.

New User Goals:

To interact with existing users to learn new things and explore what the site has to offer, making new friends or helping others with techniques and tips and tricks.

Future Goals:

  • I would like to add the ability for users to rate recipes which would tally into a global rating out of 5 stars from everyone who voted.
  • I would like to add a support ticket system to allow users to report issues with the site or people posting inappropriate content.

User Stories

Here are the links to my kanban board and the user stories hosted in Github issues

Design

Wireframes:

image

Database Schema:

Colour Scheme:

I used brown and beige for the theme of cooking as I mainly thought of baking and tried to replicate the colors associated with them that match. #FFB677 #917059

Typography:

The used font is free and called Hero

Features

Existing Features:

Navigation: image

Explore page: image

Profile page: image

New recipe page: image

Sign in page: image

Sign up page: image

404 page: image

Features Left to Implement:

  • Add more fields to the tasks on profiles
  • Support tickets
  • Rating system
  • Group messages
  • Private profiles for specified users
  • Email notification for when followed users post new content

Testing

Manual Testing:

  • CRUD tests for comments, likes, posts, follow and tasks
  • Nav links tested for related pages
  • Non logged in users attempting to create new posts
  • Non logged in users trying to sign in and sign up
  • All users logging out

Validator Testing

EsLint has been performed, the issues can be found here

Lighthouse Accessibility: image

Unfixed Bugs

I've not got the nav bar working as intended on mobile as some of the text gets slightly obscured and I need to make the text smaller to fit nicer on tablets or mobile.

Technologies Used

Main Languages Used

  • JS
  • HTML5
  • Python
  • Postgres SQL
  • CSS

Frameworks, Libraries & Programs Used

Font Awesome GitHub Heroku Django Rest React Bootstrap GitPod

Components

Loading spinner Navigation bar Burger menu collapse Infinite scroll Axios for API

Deployment

  1. Launch coding environment, GitPod and install react:

    • npx create-react-app . --use-npm
    • npm start
  2. Install packages

    • npm install react-bootstrap@4.6.0
    • npm install react-router-dom@5.3.0
    • npm install axios
    • npm install react-install-scroll-component
    • npm install jwt-decode
  3. Commit changes with Git

  4. Create a Heroku new project and link the GitHub repository in the Deploy section

Connecting to the API:

Deploy to Heroku:

  • In scripts part of package.json add "heroku-prebuild": "npm -g serve"
  • Create Procfile with web: gunicorn p5_drf_api.wsgi
  • Git commit and push and deploy on Heroku

Credits

Content

  • Code Institute: This project has been created utilising the Moments walkthrough as a foundation for the website, this will be built upon to branch out my own project and stylize to make it unique.

Media

Sign in and Sign up image: https://www.pexels.com/photo/a-person-baking-a-cake-8477970/

Cloud upload image: https://www.vecteezy.com/vector-art/2292434-upload-and-download-cloud-vector-isolated-icon

Book logo image: https://www.vecteezy.com/vector-art/6792248-book-line-icons-vector-design

Cupcakes image: https://www.pexels.com/photo/assorted-cupcakes-14105/ Banana Bread image: https://www.pexels.com/photo/shallow-focus-photography-of-sliced-brownies-1277202/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published