Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucassus/bookshelf
My GraphQL playground
https://github.com/lucassus/bookshelf
apollo apollo-client apollo-server demo example example-app example-project graphql graphql-codegen graphql-example graphql-playground playground react typeorm typescript
Last synced: 2 months ago
JSON representation
My GraphQL playground
- Host: GitHub
- URL: https://github.com/lucassus/bookshelf
- Owner: lucassus
- License: mit
- Created: 2020-04-19T13:12:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-28T20:17:22.000Z (over 1 year ago)
- Last Synced: 2024-08-03T01:30:23.700Z (6 months ago)
- Topics: apollo, apollo-client, apollo-server, demo, example, example-app, example-project, graphql, graphql-codegen, graphql-example, graphql-playground, playground, react, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 219 MB
- Stars: 68
- Watchers: 6
- Forks: 12
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - bookshelf
README
# Bookshelf
Example react and GraphQL project made during https://kursreacta.pl/gql course.
https://graphql-bookshelf.herokuapp.com/
![CI](https://github.com/lucassus/bookshelf/workflows/CI/badge.svg)
[![codecov](https://codecov.io/gh/lucassus/bookshelf/branch/master/graph/badge.svg)](https://codecov.io/gh/lucassus/bookshelf)## Prerequisites
1. Install Node.js version 18.15.0.
2. Running PostgreSQL on port `5432`.
3. Create `bookshelf_development` database with current user access.```
psql --host localhost --port 5432 --user postgres
CREATE DATABASE bookshelf_development;
```## Installation and running
1. `yarn install`
2. `yarn build`
3. `yarn dev` - will run express dev server along with webpack.
4. `yarn workspace @bookshelf/web storybook`Navigate to http://localhost:8080/ to see the app.
Navigate to http://localhost:4000/ to see GraphQL Playground.
## Database
![Database Diagram](docs/database.png)