Coder Social home page Coder Social logo

recipes's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Notes

This project was initialized with Create Next app. It uses Next.js, React, Typescript and Tailwind. I kept the dependencies to a minimun and took a few shortcuts.

What’s next:

  • Store the Contentful variables in .env
  • For the recipe paths: create recipe slug instead of using ID for URL. The slug would be a slugified version of the title followed by the ID of the article.
  • Complete the Contentful types with contentful-typescript-codegen. To not lose too much time I used a few any types. This would be easily solved with the aforementioned codegen.
  • Implement next/head for better SEO and accessibility.
  • Correctly render the markdown in the recipe description with Remark.
  • Create 404 and error pages.
  • Make the tags links that bring the user to a page with a list of recipes that have the same tag. Extend the tag styling to show interaction.
  • Make the chef name a link that brings the user to a page with a list of recipes by that same chef.
  • Handle the loading state, especially the initial uncached load which is quite long due to the images.
  • Styling: I would prefer using a design system.

recipes's People

Contributors

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