Skip to content

Daneelv/Shoply

Repository files navigation

🚀 Shoply

Ecommerce website built with next.js and postgres.

License Status


📸 Demo / Screenshots

shoply png shoply1 png shoply2 png


📜 About

Full Ecommerce site with payment integration


✨ Features

  • ✅ Log in log out user
  • ✅ Add to cart
  • ✅ Order history
  • ✅ Admin Dashboard
  • ✅ Payment Integration (Stripe and Paypal)
  • ✅ Email Invoice PDF

🛠 Tech Stack

Frontend: Next.js, TailwindCSS, ShadCN, typescript

Backend: Next.js, prisma, neon, jest, typescript, uploadthing, react-email, Zod

Database: Postgres


⚙️ Installation

You will have to register with some third party software companies

  • Emails: Resend
  • Payments: Paypal, Stripe
  • Database: Neon (you do not have to but its what i used)
  • Images: Uploadthing
# Create a .env file
NEXT_PUBLIC_APP_NAME = 'Shoply'
NEXT_PUBLIC_APP_DESCRIPTION = "Modern e-commerce for developers"
NEXT_PUBLIC_SERVER_URL  = 'http://localhost:3000'

NEXTAUTH_SECRET = ''
NEXTAUTH_URL_INTERNAL='http://localhost:3000'
NEXTAUTH_URL='http://localhost:3000'

DATABASE_URL=""
ENCRYPTION_KEY = ''

PAYMENT_METHODS= "PayPal, Stripe, CashOnDelivery"
DEFAULT_PAYMENT_METHOD= "PayPal"

PAYPAL_API_URL = 'https://api-m.sandbox.paypal.com'
PAYPAL_CLIENT_ID = ''
PAYPAL_APP_SECRET = ''

UPLOADTHING_TOKEN=''
UPLOADTHING_SECRET=''
UPLOADTHING_APPID=''

RESEND_API_KEY=''
SENDER_EMAIL= ''

STRIPE_SECRET_KEY = ''
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY = ''
STRIPE_WEBHOOK_SECRET = ''

# Clone the repo
git clone https://github.com/Daneelv/ticket-logger.git

# Install dependencies
npm install

# Run locally
npm run dev

About

Full Ecommerce site with payment integration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages