https://github.com/jjxmonster/graphql-server-ecommerce
GraphQL server for e-commerce app
https://github.com/jjxmonster/graphql-server-ecommerce
apollo graphql graphql-codegen prisma
Last synced: about 1 month ago
JSON representation
GraphQL server for e-commerce app
- Host: GitHub
- URL: https://github.com/jjxmonster/graphql-server-ecommerce
- Owner: jjxmonster
- Created: 2023-09-06T11:06:45.000Z (over 2 years ago)
- Default Branch: v0.10_sort
- Last Pushed: 2023-12-07T19:42:36.000Z (over 2 years ago)
- Last Synced: 2025-01-17T12:55:30.566Z (over 1 year ago)
- Topics: apollo, graphql, graphql-codegen, prisma
- Language: TypeScript
- Homepage:
- Size: 301 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GraphQL Server Ecommerce
GraphQL Server for [Ecommerce App](https://github.com/jjxmonster/next13-ecommerce)
## Tech Stack
- GraphQL
- TypeScript
- Apollo
- Prisma
- GraphQL Codegen
## Environment Variables (`.env`)
Before running the application, make sure you have correctly configured the environment variables. Fill in the following variables in the `.env` file:
```env
DATABASE_URL= PostgreSQL Database URL
```
## Installation and running the app
```
pnpm i
pnpm dev
```
## GraphQL Codegen command
```
pnpm codegen
```
## Prisma seed command
### seed.tsx file is located in /prisma
```
pnpm seed
```