Skip to content

joeynimu/jamstack-ecommerce

 
 

Repository files navigation

Jamstack ECommerce Next

Important!

This is a fork from Nader's Jamstack Ecommerce Next. He has done all the work with setting up and building the UI among other things. This fork shows you how you can add a backend using Prisma using any supported database dialect.

Walkthrough/Tuitorial

If you prefer a walkthrough, I have written a detailed blog post here

Getting Started

Clone and Install Dependancies

Start by cloning and installing dependancies.

  • $ git clone https://github.com/joeynimu/jamstack-ecommerce.git

  • $ yarn if you are using yarn or $ npm install if you are using npm

  • $ yarn push-db: Creates the db structure

  • $ yarn seed-db: Adds some sample data for you to start with

  • $ yarn dev: Runs the NexJS application that reads data from your database

  • $ yarn db-studio: Opens Prisma Studio where you can view and edit your database

Backend Details

By default, the project is configured to use sqlite but you can change this to point to a PostgreSQL db instance or any other supported dialect.

About

A starter project for building performant ECommerce applications with Next.js and React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.3%
  • TypeScript 24.9%
  • CSS 0.8%