https://github.com/quickheaven/shoppy
A modern e-commerce platform built with Next.js, NestJS, and Stripe integration.
https://github.com/quickheaven/shoppy
jwt jwt-authentication jwt-token monorepo nestjs nextjs postgresql prisma turborepo typescript
Last synced: about 2 months ago
JSON representation
A modern e-commerce platform built with Next.js, NestJS, and Stripe integration.
- Host: GitHub
- URL: https://github.com/quickheaven/shoppy
- Owner: quickheaven
- Created: 2025-05-13T01:46:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-12T00:02:08.000Z (9 months ago)
- Last Synced: 2026-01-27T21:45:58.533Z (5 months ago)
- Topics: jwt, jwt-authentication, jwt-token, monorepo, nestjs, nextjs, postgresql, prisma, turborepo, typescript
- Language: TypeScript
- Homepage: https://www.udemy.com/course/build-a-shopping-app-with-nextjs-nestjs-prisma
- Size: 2.58 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shoppy - E-commerce Platform
A modern e-commerce platform built with Next.js, NestJS, and Stripe integration.
## Project Structure
This monorepo contains the following applications and packages:
### Apps
- `shoppy-ui`: Next.js frontend application
- `shoppy-backend`: NestJS backend API service
## Features
- 🛍️ Product listings and management
- 💳 Secure payments via Stripe integration
- 🔐 User authentication
- 🖼️ Product image handling
- 🔄 Real-time updates using WebSockets
- 🛡️ TypeScript for type safety
## Tech Stack
- **Frontend**: Next.js, React, TailwindCSS
- **Backend**: NestJS, Prisma
- **Database**: PostgreSQL (via Neon)
- **Payment**: Stripe
- **Development**: Turborepo, TypeScript
## Getting Started
### Prerequisites
- Node.js 18+
- pnpm
- PostgreSQL database
- Stripe account
### Environment Setup
1. Clone the repository:
```bash
git clone
cd shoppy
```
2. Install dependencies:
```bash
pnpm install
```
3. Set up environment variables:
- Copy `.env.example` to `.env` in both apps
- Configure the following variables:
- `DATABASE_URL`
- `STRIPE_SECRET_KEY`
- `JWT_SECRET`
### Development
Run the development servers:
```bash
# Start all services
pnpm dev
# Start specific app
pnpm dev --filter=shoppy-ui
pnpm dev --filter=shoppy-backend
```
### Building
```bash
# Build all apps
pnpm build
# Build specific app
pnpm build --filter=shoppy-ui
pnpm build --filter=shoppy-backend
```
## API Documentation
Backend API endpoints are documented using Swagger and available at:
```
http://localhost:3001/api
```
## Contributing
1. Create a feature branch
2. Commit your changes
3. Push to your branch
4. Create a Pull Request
## License
This project is licensed under the MIT License - see the LICENSE file for details