Skip to content

thedevmian/shareed_frontend

Repository files navigation

Shareed - Next.js Frontend for Shareed E-Commerce

About

Shareed is an e-commerce platform that allows users to buy and sell second-hand items. For the frontend is used Next.js and for the backend Keystone.js. The project is deployed free on Vercel and Heroku.

Built With

Features

Demo

Backend

The backend is deployed right now on the Heroku free tier.

Demo credentials:

email: [email protected]
password: password1

Frontend

The frontend is deployed right now on the Vercel free tier. Vercel is a hosting platform that supports Next.js out of the box.

Test user credentials:

email: [email protected]
password: password1

Test credit card:

4242 4242 4242 4242
CVC: 222
MM/YY: 12/24

Resources

Screenshots

Home Page

Product Page

Cart Page

Checkout Page

Order Page

Getting Started

If you want to run the project locally, follow these steps:

  1. Clone the repository
git clone https://github.com/thedevmian/shareed_frontend.git

cd shareed_frontend
  1. Install dependencies
yarn install
  1. Create a .env.local file in the root directory and add the following environment variables:
NEXT_PUBLIC_BACKEND=
NEXT_PUBLIC_STRIPE_KEY=
  1. Run the project
yarn dev

Testing

yarn test

To Do

  • Add more tests
  • Add wishlist functionality
  • Add functionality to pay again for an order (e.g. if the payment failed)
  • Add toast notifications

About

Fullstack project - an online store with React and GraphQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages