https://github.com/danielfgray/graphile-starter-slim
https://github.com/danielfgray/graphile-starter-slim
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielfgray/graphile-starter-slim
- Owner: DanielFGray
- Created: 2023-06-02T04:12:33.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-25T02:52:08.000Z (over 2 years ago)
- Last Synced: 2025-03-30T06:31:45.590Z (about 1 year ago)
- Language: TypeScript
- Size: 2.59 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# graphile-starter-slim
this is a template for starting a new graphile project with a database, graphql server, and react frontend
## getting started
### requirements
* node (v18+)
* yarn
* docker
* docker-compose
once you have the required software and have cloned the repo, from inside the repo directory:
``` sh
yarn setup
```
the `setup` script will run several commands:
* install package dependencies
* generate an .env file
* create databases and roles
* run database migrations
* use `postgraphile` to generate a graphql schema from the postgres schema
* start the server in development mode