Code Monkey home page Code Monkey logo

ecommerce-clone's Introduction

Flipkart Clone Project - MERN Stack

This is a Flipkart clone project developed using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The project consists of two main folders: client and server, representing the front-end and back-end components respectively. Redux is used for state management, and Material-UI is utilized for building the user interface. The project is hosted on Netlify for the client-side and on another platform (e.g., Heroku) for the server-side.

Project Structure

  flipkart-clone/
    ├── client/
    |    ├── public/
    |    ├── src/
    |    |    ├── actions/            # Redux actions
    |    |    ├── components/         # Reusable React components
    |    |    ├── reducers/           # Redux reducers
    |    |    ├── App.js              # Main App component
    |    |    ├── index.js            # Entry point of the React app
    |    |    └── ...
    |    ├── package.json
    |    ├── package-lock.json
    |    └── ...
    └── server/
        ├── controllers/             # Express.js controllers
        ├── models/                  # MongoDB models
        ├── routes/                  # Express.js routes
        ├── index.js                 # Entry point of the server
        └── ...
  

Getting Started

Prerequisites

  • Node.js (version >= 12)
  • npm (Node Package Manager)

Installation

Clone the repository:

  git clone https://github.com/your-username/flipkart-clone.git
  cd flipkart-clone
  

Install dependencies for both the client and server:

  cd client
  npm install

cd ../server npm install

Development

Start the development server for the client (front-end):

  cd client
  npm start
  

The client will run on http://localhost:3000.

Start the development server for the server (back-end):

  cd server
  npm start
  

The server will run on http://localhost:5000.

Deployment

The project has been deployed using Netlify for the client-side and another hosting platform (e.g., Heroku) for the server-side. To deploy the client on Netlify, you can follow the steps mentioned in the Netlify documentation. Similarly, to deploy the server on another hosting platform, you need to set up the appropriate hosting service (e.g., Heroku, AWS, etc.) and configure the deployment process according to the platform's guidelines.

Contributing

If you would like to contribute to this project, feel free to fork the repository and create a pull request. We welcome contributions and appreciate your help in making this project better.

License

This project is licensed under the MIT License.

ecommerce-clone's People

Contributors

adityas011 avatar khushalmajoka avatar adnanahmads999 avatar tvermaashutosh avatar harjot-kaur29 avatar sumonta056 avatar falgun143 avatar fiskryeziu avatar

Stargazers

Promi Mojumder avatar

Watchers

 avatar

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.