Skip to content

A test project using Next.js, React, and Prisma to create a product listing page with add-to-cart functionality and checkout.

License

Notifications You must be signed in to change notification settings

S4toruu/VerySimpleEshop

Repository files navigation

Project Overview

This project is built using a variety of modern web development technologies. Below is a list of the main technologies used in this project:

Technologies Used

  • TypeScript
  • Next.js
  • Tailwind CSS
  • Prisma
  • MariaDB
  • DDEV
  • Docker

Getting Started

Follow these steps to set up and run the project locally:

Prerequisites

  1. Download and Install Docker Desktop: Docker Desktop
  2. Download and Install DDEV: DDEV

Steps to Run the Project

  1. Clone the Repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Edit the .env.local and .env Files:

    • Copy the .env.example file to .env.local and .env
    • Update the database connection string and other environment variables as needed
  3. Use Node Version Manager (NVM):

    nvm use
  4. Install Dependencies:

    npm install
  5. Start DDEV:

    ddev start
  6. Run Prisma Migrations:

    npx prisma migrate dev --name init
  7. Generate Prisma Client:

    npx prisma generate
  8. Seed the Database:

    npx prisma db seed
  9. Run the Development Server:

    npm run dev

Your project should now be running locally. Open your browser and navigate to http://localhost:3000 to see the application in action.

About

A test project using Next.js, React, and Prisma to create a product listing page with add-to-cart functionality and checkout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published