booWood
This was my second semester project at Noroff. The task was to build
an e-commerce website that has both customer-facing and admin
sections. The theme was optional, and the backend was supllied by
Noroff through a Strapi API.
Requirements for the project:
-
Build a frontend with home, product list, product detail and cart
pages
- Build admin pages to create, edit and delete products
The home page must include:
- A hero banner with an image that is uploaded to Strapi
-
A list of featured products. When a product is marked as featured,
it should be displayed on the homepage.
The products page must include:
-
A list of all products added to Strapi. Each product must display
its title, price and image. The product should link to its product
detail page
-
A search text box. When searching (filtering), only products that
include the searched text in their title should be listed
The product detail page must include:
- Title
- Description
- Image
- Price
-
An add to cart button. This will toggle the product in and out of a
cart array stored in local storage
The cart/basket page must include:
-
A list of all products added to the cart. If the cart is empty,
display a message indicating this
- Title
- Price
- A link to the product view page
- Image
- Total price
The admin section must include:
- Login/logout features
- Adding/editing and deleting products