Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbchoa/admin-on-rest-apollo
Example admin app using admin-on-rest with Apollo backend
https://github.com/mbchoa/admin-on-rest-apollo
admin-on-rest apollo
Last synced: 2 days ago
JSON representation
Example admin app using admin-on-rest with Apollo backend
- Host: GitHub
- URL: https://github.com/mbchoa/admin-on-rest-apollo
- Owner: mbchoa
- Created: 2018-03-15T17:20:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T03:43:31.000Z (almost 2 years ago)
- Last Synced: 2024-12-14T09:09:52.496Z (9 days ago)
- Topics: admin-on-rest, apollo
- Language: JavaScript
- Homepage:
- Size: 3.17 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TBT Admin POC with `admin-on-rest` & Apollo GraphQL
## Directory Structure
```
├── /build/ # Client-side output build directory
├── /src/ # Top-level package
│ ├── /components/ # Top-level React component package
│ ├── /graphql/ # Backend GraphQL server package
│ │ ├── /resolvers/ # GraphQL resolvers package
│ │ ├── /schema/ # GraphQL schemas package
│ │ │ ├── /mutations/ # GraphQL mutations
│ │ │ ├── /queries/ # GraphQL queries
│ │ │ ├── /types/ # GraphQL schema types
│ │ ├── index.js # Server-side entry point
│ │ └── ...
│ ├── App.js # Root React component
│ ├── buildApolloClient.js # Utility methods to build AoR Apollo client
│ └── index.js # Client-side entry point
```## Getting Started
### Client
1. `yarn install` Install npm dependencies
2. `yarn start` Serves up client Express server
3. Navigate to `http://localhost:3000`### Server
1. `cd /src/graphql` Navigate to graphql server source code
2. `yarn install` Install npm dependencies
3. `yarn build` Builds GraphQL server
4. `yarn serve` Serves up GraphQL Express server