An open API service indexing awesome lists of open source software.

https://github.com/arifnextdev/swiftcart


https://github.com/arifnextdev/swiftcart

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# SwiftCart E-commerce Project

SwiftCart is a full-stack e-commerce project developed using the MERN (MongoDB, Express.js, ReactJS, Node.js) stack. It leverages various frontend and backend technologies to provide a robust and scalable solution for building online shopping platforms.

## Frontend Dependencies

- **React**: `^18.2.0` - A JavaScript library for building user interfaces.
- **Redux Toolkit**: `^1.9.7` - A set of tools for efficient Redux development.
- **React Router DOM**: `^6.18.0` - Declarative routing for React.js.
- **Axios**: `^1.6.2` - Promise-based HTTP client for making API requests.
- **React Icons**: `^4.11.0` - A library of popular icons for React.
- **React Table**: `^7.8.0` - A lightweight, fast, and extendable data table library for React.
- **React Chartjs 2**: `^5.2.0` - A React wrapper for Chart.js, a simple yet flexible JavaScript charting library.
- **Chart.js**: `^4.4.0` - Simple yet flexible JavaScript charting library.
- **Firebase**: `^10.7.1` - A platform developed by Google for creating mobile and web applications.
- **Stripe**: `^2.4.0` - A payment processing platform.
- **React Stripe JS**: `^2.4.0` - React components for Stripe.js and Elements.
- **React Hot Toast**: `^2.4.1` - Toast notifications for React.

## Backend Dependencies

- **Express.js**: `^4.18.2` - Web application framework for Node.js.
- **Mongoose**: `^8.0.3` - MongoDB object modeling for Node.js.
- **Cors**: `^2.8.5` - Middleware for enabling Cross-Origin Resource Sharing (CORS) in Express.js.
- **Dotenv**: `^16.3.1` - Loads environment variables from a .env file.
- **Morgan**: `^1.10.0` - HTTP request logger middleware for Node.js.
- **Multer**: `^1.4.5-lts.1` - Middleware for handling `multipart/form-data` for file uploads.
- **Node-cache**: `^5.1.2` - A simple in-memory cache for Node.js.
- **Stripe**: `^14.13.0` - A payment processing library for Node.js.
- **Validator**: `^13.11.0` - A library of string validators and sanitizers.
- **@types/mongoose**: `^5.11.97` - TypeScript definitions for Mongoose.
- **@types/validator**: `^13.11.7` - TypeScript definitions for Validator.
- **Body-parser**: `^1.20.2` - Middleware for parsing incoming request bodies.
- **UUID**: `^9.0.1` - A library for generating and parsing UUIDs.

## Live Servers

- **Frontend Live Server**: [https://swiftcart-six.vercel.app/](https://swiftcart-six.vercel.app/)
- **Backend Live Server**: [https://swiftcart-server.vercel.app/](https://swiftcart-server.vercel.app/)

## Prerequisites

Before running the project, ensure you have the following installed:

- [Node.js](https://nodejs.org/): Download and install Node.js.
- [MongoDB](https://www.mongodb.com/try/download/community): Install MongoDB and ensure it is running.

## Getting Started

1. **Clone the Repository:**

```bash
git clone https://github.com/your-username/swiftcart.git
cd swiftcart
```