Welcome to the Personal Commerce Frontend repository! This is the frontend application for the Personal Commerce headless commerce platform, designed to provide a flexible and dynamic user interface for e-commerce solutions.
Note that this project is in active development and should be considered pre-alpha. Use at your own risk.
The Personal Commerce Frontend is the user-facing interface of the Personal Commerce platform. It interacts with the backend APIs to deliver a highly customizable e-commerce experience. This project aims to be a starting point for building personalized e-commerce applications with modern web development practices.
- Dynamic product catalog display.
- Cart and checkout functionality.
- User authentication and account management.
- Integration with headless backend commerce APIs.
- Responsive design for mobile and desktop.
- Modular and reusable component architecture.
- Framework: React
- State Management: Redux
- Styling: CSS Modules / SCSS
- API Communication: Axios
- Build Tool: Webpack
- Package Manager: npm
Ensure you have the following installed:
- Node.js (>= 14.x)
- npm (>= 6.x)
-
Clone the repository:
git clone https://github.com/Marclev78/personal-commerce-frontend.git
-
Navigate to the project directory:
cd personal-commerce-frontend -
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000(or the specified port).
Create a .env file in the root directory with the following variables:
REACT.APP.API.BASE.URL=<backend URL>
REACT.APP.API.VERSION=1
REACT.APP.STORE_SLUG=<slug of your store>
Contributions are welcome! Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add your feature description" - Push the changes to your branch:
git push origin feature/your-feature-name
- Submit a pull request.
This project is licensed under the Apache 2.0 License.
- Inspired by modern e-commerce practices.
Thank you for exploring the Personal Commerce Frontend project! Happy coding! 🎉