Coder Social home page Coder Social logo

jorgefranklin / recipes-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 594 KB

A fullstack recipes application, users can create and delete their own recipes, read and comment on other users' recipes, search for recipes, and more.

Home Page: https://recipe-app-portfolio.netlify.app

JavaScript 0.85% TypeScript 95.68% CSS 3.47%
apollo-client apollo-server class-variance-authority clsx graphql next-13 next-auth nextjs prisma prisma-client prisma-orm tailwind tailwindcss typescript date-fns react reactjs remarkable markdown

recipes-app's Introduction

TypeScript Tailwind CSS

Fullstack recipes app built using TypeScript, Next 13, Next Auth, TailwindCSS, GraphQL, Prisma, Apollo Client, Apollo Server

This is a Full Stack Project built using TypeScript, Next 13, Next Auth, Apollo-Client, TailwindCSS in frontend and using GraphQL, Apollo-Server, Prisma & MySQL in backend.

The project is a "social network" of recipes, you can see the profile of other users and also their recipes, you can comment on recipes, create and delete your recipes and also search for recipes.

You can take a look at the project here.

Table of contents

Project walk-through

Home

image

On this page we can see 4 categories of recipes "Breakfast", "Lunch", "Salad", "Dinner". A very important component for the application is the "RecipeCard" it is rendered several times on the home page, it is responsible for displaying the title, the recipe image and directing the user to the respective recipe page.

Recipe

image 1

image

image 2

image

This page is where we can see the recipe author and the recipe details, such as the image and how to make it. We can also see the comments that this recipe has received and we can also leave a comment.

Create recipe

image 1

image

image 2

image

Here is where you create a recipe. You can only access this page if you are logged in. To create your recipe, you need to first give it a title and then provide the URL of the image you want to appear as the image of your recipe. After that, you write your recipe using markdown language. It needs to be written in this language so that the recipe is displayed in a beautiful HTML format instead of plain text. Finally, you choose which categories your recipe belongs to and create it by clicking on the "create" button.

Account

image

This page shows your account and your recipes. You can delete any recipe or log out of your account.

Profile

image

This page looks like the account page, but it's actually how a user views the profile of another user. They can see the account and all the recipes of that user.

Search

image

This component is responsible for taking the typed recipe and passing it to the "results" page.

Results

image

This page takes the typed recipe from the URL and searches for corresponding recipes to display. It displays all of them, but in this case, only one was found.

Discover

closed

image

open

image

"Discover" is a dropdown menu that displays several categories. When you click on one, you will be taken to the "category" page, which will display recipes from the category you chose.

Category

image

This page retrieves the category from the URL and displays the recipes that match that category.

Technologies used

I have built this project using the following technologies:

  • React
  • TypeScript
  • NextJS 13
  • Next Auth
  • TailwindCSS
  • Class Variance Authority
  • Clsx
  • GraphQL
  • Apollo Client
  • Prisma
  • Apollo Server
  • Date fns
  • NodeJS

recipes-app's People

Contributors

jorgefranklin avatar

Watchers

 avatar

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.