Skip to content

A next js ecommerce app, uses Google OAuth for sign in, cockroachdb(mysql) as a database, and prisma as the adapter for the database.

Notifications You must be signed in to change notification settings

ProgrammerSteve/nextEcommerce

Repository files navigation

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

Links

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 pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

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

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

TO DO:

  • Fix navbar link displays
  • Add uuid for sample Data to do Key
  • Create Sidebar
  • Get Icons for Sidebar Component
  • Style Sidebar Component
  • Create individual product pages
  • Link a database to next-auth
  • Add a cart SVG in corner
  • Add hamburger menu for navbar
  • Create cart in database for each user
  • Create crud operations for database
  • Create a cart page with a checkout link
  • Create checkout page
  • Integrate square with env variables
  • Create a contact page
  • Create a profile page
  • Create an about page
  • Add 2xl breakpoint in CSS
  • Make homepage responsive in 2xl
  • Create express graphQL app for sample data
  • Add Apollo Client to frontend
  • Link database with products
  • fix graphql refetch bug for Cart and navigation bar
  • Create removeCartItem hook
  • Check if increment and decrement cart item hooks work
  • Add cart hooks to cart page
  • Add input for item page so a specified amount can be added
  • Add payment page for cart
  • Add Stripe or Square to enable purchasing
  • Make resolvers and schema for orders on the backend
  • Update the profile page to show previous purchases

About

A next js ecommerce app, uses Google OAuth for sign in, cockroachdb(mysql) as a database, and prisma as the adapter for the database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published