martynvalenz / next-ecommerce-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dev

  • Clone the repo
  • Run npm install
  • Open http://localhost:3000 in your browser
  • Copy env.example to .env and fill in the values

Build Postgress database

docker compose up -d

Run prisma migrations

npx prisma migrate dev --name <name>

Execute seed

npm run seed

Clean localStorage and cookies to clear unexsitent ID's

Run the app

Create a random AUTH_SECRET in the terminal and update de .env file

openssl rand -base64 32
  • Run npm run dev

Build

About


Languages

Language:TypeScript 98.5%Language:CSS 1.4%Language:JavaScript 0.2%