Skip to content

Md-Dipu/capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capstone: Full Stack E-Commerce Application

A modern, full stack e-commerce platform built with React, Express, and MongoDB.


Table of Contents


Project Overview

Capstone is a full stack e-commerce web application designed to demonstrate modern web development best practices. It features a robust backend API, secure authentication, and a responsive frontend for seamless user experience.

Features

  • User authentication (signup, login, protected routes)
  • Product catalog and details
  • Shopping cart and order management
  • Checkout with payment integration (Stripe)
  • Order history and dashboard for users
  • Admin dashboard for product and order management
  • Responsive design with Tailwind CSS

Tech Stack

Frontend:

  • React (Vite)
  • Tailwind CSS
  • Axios

Backend:

  • Node.js
  • Express.js
  • MongoDB (Atlas)
  • JWT Authentication
  • Stripe API

Other:

  • ESLint for code linting
  • RESTful API architecture

Folder Structure

├── capstone-backend/         # Express backend API
│   ├── config/               # Environment configs
│   ├── controllers/          # Route controllers
│   ├── middleware/           # Auth and other middleware
│   ├── models/               # Mongoose models
│   ├── routes/               # API routes
│   ├── utils/                # Utility functions
│   └── index.js              # Entry point
│
├── capstone-frontend/        # React frontend
│   ├── public/               # Static assets
│   ├── src/
│   │   ├── components/       # Reusable UI components
│   │   ├── pages/            # Page components
│   │   ├── services/         # API service modules
│   │   ├── store/            # State management
│   │   ├── styles/           # CSS
│   │   └── main.jsx          # Entry point
│   └── index.html
│
├── doc/                      # Documentation and images
└── README.md                 # Project documentation

Getting Started

Prerequisites

Installation

  1. Fork and Clone the Repository
    • Fork this repo to your GitHub account.
    • Clone it to your local machine:
      git clone https://github.com/<your-username>/<repo-name>.git
  2. Backend Setup
    • Navigate to the backend folder:
      cd capstone-backend
      npm install
    • Configure environment variables as described in capstone-backend/README.md.
  3. Frontend Setup
    • Navigate to the frontend folder:
      cd ../capstone-frontend
      npm install

Usage

Running the Application

  1. Start the Backend
    cd capstone-backend
    npm start
  2. Start the Frontend
    cd ../capstone-frontend
    npm run dev
  3. Open your browser and go to http://localhost:5173 (or the port shown in the terminal) to view the app.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License.

About

A full stack e-commerce platform

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages