Contributors: Georgia, Iman, Karol, Natalia.
This app was build using Next.js.
We were instructed to build a simple e-commerce shopping site. Fruit King sells fruits, categorised by citrus and berry fruits.
Clone this repo and cd into the directory
Run npm install
to install all the dependencies
Run npm run seed
to seed the database
Run npm run dev
to run the app locally
- Server-rendered with Next.js
- Homepage with product listings
- Individual product pages, containing quantity/colour/variant pickers
- Data stored in a SQLite database
- “Add to basket” button on product pages
- Basket page showing all saved items
- Basket contents persisted for future visits (local storage)
- Filter products by category
- Sort products by price
- End-to-end tests
- The site is not deployed and set up must be followed locally.