Skip to content

AyushSriv06/Len-Den-Next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeN-deN

LeN-deN is a modern full-stack monorepo application for financial transfers, including a User App for personal transactions and a Merchant App. Built with a focus on speed, scalability, and developer experience using Turborepo and Next.js.


## 🛠 Tech Stack

- **Framework**: [Next.js](https://nextjs.org/) (14/15)
- **Monorepo Management**: [Turborepo](https://turbo.build/)
- **ORM**: [Prisma](https://www.prisma.io/)
- **Database**: [PostgreSQL](https://www.postgresql.org/) (Local via Docker)
- **Styling**: [TailwindCSS](https://tailwindcss.com/)
- **State Management**: [Recoil](https://recoiljs.org/)
- **Authentication**: [NextAuth.js](https://next-auth.js.org/)

## 🚀 Getting Started

Follow these steps to set up the project locally:

### 1. Install Dependencies
From the root directory, run:
```bash
npm install
```

### 2. Set Up Local Database
Start the PostgreSQL container (configured to run on **port 5433** to avoid conflicts):
```bash
sudo docker compose up -d
```

### 3. Initialize Database
Navigate to the DB package and sync the schema:
```bash
cd packages/db
npx prisma generate
npx prisma db push
npx prisma db seed # Seeds Alice and Bob
```

### 4. Run the Apps
Return to the root directory and start the development server:
```bash
npm run dev
```

## 🌐 App Access

- **User App (web)**: [http://localhost:3000](http://localhost:3000)
- **Merchant App (docs)**: [http://localhost:3001](http://localhost:3001)

### Seeded Credentials (User App)
| Phone | Password |
| :--- | :--- |
| `1111111111` | `alice` |
| `2222222222` | `bob` |

---

*This project was initialized using the official Turborepo starter.*

About

Its a PayTM like application build on NextJS that consist of both user side and merchant side applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors