This is the frontend application for the Trendline e-commerce platform, built using React. The frontend provides an intuitive and responsive user interface for managing products, orders, customers, discounts, catalogs, and reports. It interacts with the backend API to perform CRUD operations and display relevant data to users.
- React: JavaScript library for building user interfaces.
- React Router: For handling navigation within the application.
- Node.js: Ensure you have Node.js and npm installed. You can download them from the official Node.js website.
- Backend API: The backend server must be running to use the frontend application. Refer to the backend repository for setup instructions.
-
Clone the Repository:
git clone https://github.com/VullnetA/TrendLine-Frontend.git cd TrendLine-Frontend -
Install Dependencies:
- Run the following command to install the necessary dependencies:
npm install
-
Run the Application:
- Start the development server using:
npm start
-
Access the Application:
- The application will be available at 'http://localhost:3000'.
- Dashboard: Provides an overview and quick links for managing products, orders, customers, and discounts.
- Product Management: Allows users to view, add, update, and delete products.
- Order Management: Enables viewing and managing orders, including updating order statuses.
- Customer Management: Allows for viewing, adding, and updating customer information.
- Discount Management: Facilitates adding and updating discounts for products.
- User Authentication: Supports secure login and registration with JWT-based authentication.
We welcome contributions! If you want to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch ('git checkout -b feature-branch').
- Commit your changes ('git commit -m "commit message"').
- Push to the branch ('git push origin feature-branch').
- Open a pull request.
For any inquiries or support, please contact me at vullnetazizi9@gmail.com.