Code Monkey home page Code Monkey logo

workshop-nextjs-pizza's Introduction

workshop-nextjs-pizza

cover image

Simple t-shirt shop project strongly spiced with basement.studio flavor for the Next.js & Pizza Workshop.

Starting URL: https://workshop-nextjs-pizza-git-starting-point-basement.vercel.app/

Our Commerce Toolkit

This project is powered by the BSMNT Commerce Toolkit that we built to build fast and reliable storefronts that could handle crazy amounts of traffic.

The Stack

Resources

Development

  1. Install yarn:

    npm install -g yarn
    
  2. Install the dependencies with:

    yarn
    
  3. Start developing and watch for code changes:

    yarn dev
    

Phase 1: Repo Overview

10 minutes

  • File structure
  • Libraries we're using

Phase 2: Add cart functionality using @bsmnt/storefront-hooks

45 minutes

Phase 3: Deploy to Vercel

5 minutes

  • Make sure you add the required environment variables

BONUS: Bring the initial cart state from the server

5 minutes

  • Prevent "flash of unfetched cart"
  • Feel the power of React Server Components

Thank you for coming 🏴

workshop-nextjs-pizza's People

Contributors

ignmandagaran avatar agusegui avatar julianbenegas avatar dependabot[bot] 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.