Skip to content

Veeramanikandanr48/Pharmecy-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend for E-Commerce Application

This is the frontend application for an E-Commerce web application built using React.js.

Getting Started

To get started with this project, follow the instructions below.

Prerequisites

Make sure you have the following software installed on your system:

  • Node.js (version >= 12.0.0)
  • npm (Node.js package manager)

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/AMH-digi-soultions/Ecommerce_main
  2. Navigate to the project directory:

    cd ecommerce-frontend
  3. Install the dependencies:

    npm install

Configuration

Before running the frontend application, make sure the backend server is running and accessible. Update the backend server URL in the .env file if necessary.

Running the Application

To start the frontend application, run the following command:

npm start

The application will start running on http://localhost:3000.

Project Structure

The project structure is organized as follows:

  • public/: Contains static assets and the HTML template.
  • src/: Contains the React components, styles, and other frontend code.
    • components/: Contains reusable UI components.
    • pages/: Contains page components representing different views of the application.
    • App.js: Main component that renders other components.
    • index.js: Entry point of the application.

Usage

Once the application is running, you can access it in your web browser. The application provides a user interface to browse products, view product details, add products to the cart, and proceed to checkout.

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.