This is the frontend of the Choco Web App, built using the MERN stack (MongoDB, Express.js, React.js, Node.js) with Redux for state management. The application includes customer login and registration, product pages, shopping cart, user profile management, admin dashboard, order details, product management, checkout process, shipping details, and payment information.
- Customer login and registration
- Product listing and details
- Shopping cart management
- User profile management
- Admin dashboard for product and order management
- Checkout process with shipping and payment details
-
Clone the repository:
git clone https://github.com/Chanuth-silva10/choco-web-app-frontend-mern-with-redux.git cd choco-web-app-frontend-mern-with-redux
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory with the following environment variables:REACT_APP_API_URL=<Your Backend API URL>
-
Start the development server:
npm start
-
Build and run the Docker container:
docker-compose up --build
-
The app will be available at
http://localhost:3000
.
.vscode
: VS Code settingspublic
: Public assetssrc
: Source codeactions
: Redux actionscomponents
: React componentsconstants
: Redux constantsreducers
: Redux reducersscreens
: React screens/pagesstore
: Redux store setupstyles
: CSS styles