BTC415 / eCommerce_MERN

A full-stack e-commerce application developed using the MERN (MongoDB, Express, React, Node.js) stack. The project includes features such as user authentication, product management, shopping cart, and payment processing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool




Fullstack Next.js E-commerce

Technologies ๐Ÿ”ง

  • Next.js(React)
  • TypeScript
  • Prisma
  • NextAuth
  • Stripe
  • Tailwind
  • React Query
  • Sentry
  • Yup

Screenshots ๐Ÿ“ธ




Code Example/Issues ๐Ÿ”

If you have any issues, please let me know in the issues section or directly to alenschmitt415@gmail.com

Installation ๐Ÿ’พ

git clone https://github.com/BTC415/eCommerce_MERN.git

Fill your .env variables:

POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
DATABASE_URL="postgresql://<POSTGRES_USER>:<POSTGRES_PASSWORD>@<POSTGRES_HOST>:<POSTGRES_PORT>/<POSTGRES_DB>?schema=public&sslmode=prefer"
GITHUB_SECRET=
GITHUB_ID=
SECRET=
NEXTAUTH_URL=
NEXTAUTH_CALLBACK_URL=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
NEXT_PUBLIC_STRIPE_SUCCESS_REDIRECT_URL=
NEXT_PUBLIC_STRIPE_ERROR_REDIRECT_URL

Install deps:

npm install

Generate Prisma Client:

npx prisma generate

Run docker-compose:

docker-compose up -d

Run Next dev server:

npm run dev

About

A full-stack e-commerce application developed using the MERN (MongoDB, Express, React, Node.js) stack. The project includes features such as user authentication, product management, shopping cart, and payment processing.


Languages

Language:TypeScript 97.4%Language:JavaScript 2.6%