Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.11 KB

README.md

File metadata and controls

72 lines (50 loc) · 1.11 KB

OnePieceQL

One_Piece_Anime_Logo

Introduction

OnePieceQL is a GraphQL API that provides extensive data about the One Piece universe, a popular manga and anime series.

You can view the live documentation

Getting Started

Ensure PNPM and Docker are installed.

Create .env file and add environment variables (see below)

Run docker compose

docker compose up

Server

cd ./server

Download dependencies

go mod download

Run server

go run ./cmd/server/main.go

Client

cd ./client

Download dependencies

pnpm i --frozen-lockfile

Run client

pnpm run dev

Environment Variables

POSTGRES_USER=?
POSTGRES_PASSWORD=?
POSTGRES_DB=?
POSTGRES_PORT=5432
POSTGRES_HOST=localhost
SERVER_ENV=development
PORT=5000

AWS_REGION=?
AWS_ACCESS_KEY_ID=?
AWS_SECRET_ACCESS_KEY=?
AWS_S3_BUCKET_NAME=?