An open API service indexing awesome lists of open source software.

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

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
```