This project is an ecommerce fullstack application built using React for the frontend and Node.js for the backend. The application allows users to browse through products, add them to their cart, and proceed to checkout.
The folder structure of the project is as follows:
DEC2023/
│
├── node_module/
├── public/
├── src/
│ ├── assets/
│ └── components/
│ └── pages/
│ └──
│ └──
│
└── .eslintrc.cjs
└── .gitignore
└── index.html
└── package-lock.json
└── package.json
└── README.md
└── vite.config.js
Follow these steps to get the project up and running on your local machine.
git clone https://github.com/Final-Project-Dec2023/Dec2023.git
cd Dec2023
# Install frontend dependencies
cd < root folder >
npm install
### Run the Development Servers
```bash
# Start the frontend development server
npm start
# Start the backend development server
cd ../server
npm start
Now you can access the application at http://localhost:5173
.
Follow these guidelines to contribute to the project:
- Fork the repository.
- Clone your forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your branch on your forked repository.
- Submit a pull request to the main repository.
When naming your branch, follow this convention:
feature/<feature-name>
for new features e.g blard/navbarbugfix/<bug-description>
for bug fixes e.g kiki/navbaroverflow
To avoid conflicts when pushing changes to your branch, make sure to pull any changes from the main repository's main
branch into your local branch before pushing:
git pull origin main
Resolve any conflicts locally and then push your changes.
Follow the existing code style and conventions in the project. Use meaningful variable and function names, and ensure your code is properly formatted.
If you encounter any issues or have feedback, please open an issue on the GitHub repository, or reach out to BLARD.