Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtlh/spoura
Fully featured ecommerce platform, favourite and buy shoes from the best brands. Payment intergrated with Google Pay API.
https://github.com/mtlh/spoura
prisma svelte sveltejs typescript
Last synced: 5 days ago
JSON representation
Fully featured ecommerce platform, favourite and buy shoes from the best brands. Payment intergrated with Google Pay API.
- Host: GitHub
- URL: https://github.com/mtlh/spoura
- Owner: mtlh
- Created: 2022-12-14T00:41:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T20:33:21.000Z (9 months ago)
- Last Synced: 2024-04-22T04:09:36.653Z (7 months ago)
- Topics: prisma, svelte, sveltejs, typescript
- Language: Svelte
- Homepage: https://spoura.mtlh.dev
- Size: 1.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spoura
![Thumbnail Image](https://mtlh.vercel.app/assets/spoura_portfolio.e11818e6_Z1HFFFD.webp)## About
Fully featured ecommerce platform, favourite and buy shoes from the best brands. Payment intergrated with Google Pay API and authentication using JWT sessions.## Demo
This project is deployed directly onto Vercel.
[spoura.vercel.app](https://spoura.vercel.app/)## Technologies
- TailwindCSS
- Typescript
- Svelte (+ SvelteKit)
- Prisma
- PlanetScale (MySQL)
- JWT
- GooglePay API
- Vercel (hosting)## How to deploy locally
Follow the steps below:
1. Download code from this repository.
2. Install every dependency.
```typescript
npm install
```
3. Create api keys from the following sources:
`. [PlanetScale](https://app.planetscale.com/)4. Get all required keys setup in a .env file.
```typescript
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/5. Generate prisma client and run locally
```typescript
npx prisma generate
npm run dev
```6. Enjoy!