Skip to content

robertrenzorudio/geographql

Repository files navigation

GeographQL Logo

GeographQL

A Country, State, and City GraphQL API

Read the docs

Playground

Run Locally

Clone the repo

$ git clone https://github.com/robertrenzorudio/geographql/

Setup environment variables

.env

# Dababase
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_NAME=
DATABASE_URL=

# Redis 
CACHE_HOST=
CACHE_PORT=
CACHE_PASSWORD=
CACHE_URL=

# Oauth
# Github
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

# Google
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

# Session
SESSION_NAME=
SESSION_SECRET=
SESSION_DOMAIN=

# Express
PORT=8080

.env.db

# Dababase
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=

With yarn

$ yarn # Install depencies
$ yarn watch # Runs tsc and codegen on watch mode

# On a separate terminal
$ yarn dev

With npm

$ npm install # Install depencies
$ npm run watch # Runs tsc and codegen on watch mode

# On a separate terminal
$ npm run dev

About

A Country, State, and City GraphQL API.

Topics

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages