Fully featured ecommerce platform, favourite and buy shoes from the best brands. Payment intergrated with Google Pay API and authentication using JWT sessions.
This project is deployed directly onto Vercel. spoura.vercel.app
Follow the steps below:
Download code from this repository.
Install every dependency.
npm install
Create api keys from the following sources: `. PlanetScale
Get all required keys setup in a .env file.
DATABASE_URL='planetscalegeneratedconnectionstring'
BASE_URL='http://localhost:3000/'
JWTSECRET="anylengthstring"
The BASE_URL must be configured based on which port you are using, when creating a hosted version this must be update to be the final url eg. https://spoura.vercel.app/
Generate prisma client and run locally
npx prisma generate
npm run dev
Enjoy!