Buyfy is a responsive e-commerce website project built with HTML, CSS, and vanilla JavaScript on the client-side. It allows users to browse through various products, add items to their cart. It is a UI extensive project.📊
- Clone the repository
- Install the dependencies:
npm install - Start the server:
node src/app.js
The project uses an API endpoint to serve product data to the client. The API endpoint is defined in src/app.js and returns an array of product objects.
app.get('/api/products', (req, res) => {
res.json(products);
});