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: 30 days 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-28T20:17:22.000Z (about 2 years ago)
- Last Synced: 2024-11-14T17:48:04.046Z (7 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/

[](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
