Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mrahmadhassankhan/ecommerce-backend-express

Ecommerce Backend with Express Js , Vanila Javascript and MongoDb
https://github.com/mrahmadhassankhan/ecommerce-backend-express

backend ecommerce ecommerce-backend ecommerce-store-backend ecommerce-website express mern-stack

Last synced: 5 days ago
JSON representation

Ecommerce Backend with Express Js , Vanila Javascript and MongoDb

Awesome Lists containing this project

README

        

# E-Commerce Backend

**E-Commerce Backend** designed to manage CRUD operations and admin functionalities for an online marketplace.

## Table of Contents

- [About](#about)
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## About

This backend provides a seamless experience for managing products, users, and orders. It includes CRUD operations and an admin panel for efficient management.

## Features

- User registration and login
- Product browsing and searching
- Shopping cart and checkout
- Admin panel for managing products and orders

## Technologies Used

### Backend

- **Node.js**: JavaScript runtime
- **Express**: Web framework for Node.js
- **MongoDB**: NoSQL database

## Installation

To run the project locally, follow these steps:

1. **Clone the repository**:

```sh
git clone https://github.com/mrahmadhassankhan/ecommerce-backend-express
```

2. **Navigate to the project directory**:

```sh
cd E-Commerce-Backend
```

3. **Install dependencies for the backend**:

```sh
cd backend
npm i
```

4. **Create a `.env` file in the backend directory and add your environment variables**:

```env
DB_URI=your_mongo_database_uri
JWT_SECRET=your_jwt_secret
```

5. **Start the backend server**:
```sh
cd backend
npm run dev
```

## Usage

To use the backend locally, navigate to `http://localhost:1783`.

## Contributing

Contributions are welcome! Please follow these steps:

1. **Fork the repository**
2. **Create a new branch** (`git checkout -b feature/your-feature`)
3. **Commit your changes** (`git commit -m 'Add some feature'`)
4. **Push to the branch** (`git push origin feature/your-feature`)
5. **Open a pull request**

## License

Distributed under the MIT License.