Giter Site home page Giter Site logo

ecommerce_app's Introduction

This is an e-commerce web application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The project aims to provide a scalable and efficient platform for online shopping.

Table of Contents

  1. Features
  2. Prerequisites
  3. Installation
  4. Usage
  5. Folder Structure
  6. Technologies Used
  7. Contributing
  8. License

Features

  • User authentication and authorization
  • Product browsing and searching
  • Shopping cart functionality
  • Order processing and history
  • Admin panel for product and user management

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js and npm installed
  • MongoDB database
  • React development environment

Installation

  1. Clone the repository:

    git clone https://github.com/abhijit2712/Ecommerce_App.git

Change into the project directory:

bash Copy code cd ecommerce-mern-stack Install dependencies:

bash Copy code npm install Set up environment variables:

Create a .env file in the root of the project.

Add the following variables:

env Copy code REACT_APP_API_URL=http://localhost:8000/api REACT_APP_CLIENT_URL=http://localhost:3000 Update the URLs accordingly.

Run the application:

bash Copy code npm run dev Usage Visit http://localhost:3000 in your browser to access the e-commerce application.

Folder Structure client: React frontend code server: Node.js and Express backend code config: Configuration files models: MongoDB schema models routes: Express routes controllers: Route controllers middlewares: Custom middleware functions utils: Utility functions Technologies Used MongoDB Express.js React.js Node.js JSON Web Tokens (JWT) for authentication Axios for HTTP requests Contributing Contributions are welcome! Please follow the Contributing Guidelines.

License This project is licensed under the MIT License.

ecommerce_app's People

Contributors

abhijit2712 avatar

Watchers

 avatar

Forkers

bkyashraj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.