Skip to content

surjeetkumar800/1Fi-Tech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🏦 EMI Store

Next.js Tailwind CSS Express.js MongoDB TypeScript

A professional MERN stack application featuring a modern E-commerce experience with integrated EMI plans backed by mutual funds.


✨ Key Features

  • 🚀 Modern Tech Stack: Built with Next.js 15 (App Router) and Tailwind CSS 4.0.
  • 📱 Responsive Design: Fully optimized for mobile, tablet, and desktop views.
  • 🎨 Premium UI/UX: Smooth animations powered by Framer Motion and icons by Lucide React.
  • 🛠️ Dynamic Product Pages: Automatic generation of SEO-friendly product URLs.
  • 🔢 EMI Calculator: Real-time monthly cost calculation with flexible interest rates and terms.
  • 🛒 Cart & Auth: Complete user flow from registration to checkout with cart persistence.

🛠️ Tech Stack

Frontend

Backend


📁 Project Structure

EMI_Store/
├── client/                # Next.js Frontend
│   ├── app/               # App Router pages
│   ├── components/        # Reusable UI components
│   ├── lib/               # Utility functions
│   └── public/            # Static assets
└── server/                # Express Backend
    ├── models/            # Mongoose schemas
    ├── routes/            # API endpoints
    ├── middleware/        # Auth & validation
    └── seed.js            # Database seeding script

🚀 Getting Started

Prerequisites

  • Node.js (v18+)
  • MongoDB (Running locally or Atlas)

Setup Instructions

  1. Clone the repository

    git clone <repository-url>
    cd EMI_Store
  2. Backend Configuration

    cd server
    npm install
    # Create a .env file with your MONGO_URI and JWT_SECRET
    node seed.js    # Populate the database with initial products
    npm run dev     # Start with Nodemon

    The server runs on http://localhost:5000

  3. Frontend Configuration

    cd ../client
    npm install
    npm run dev     # Start the development server

    The client runs on http://localhost:3000 (standard) or http://localhost:3001


📡 API Reference

Endpoint Method Description
/api/products GET Fetch all products
/api/products/:slug GET Get specific product details
/api/auth/register POST Register a new user
/api/auth/login POST User authentication
/api/cart GET/POST Manage user cart items

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors