https://github.com/bannzai/posusumebackend
https://github.com/bannzai/posusumebackend
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bannzai/posusumebackend
- Owner: bannzai
- Created: 2021-08-13T10:47:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-16T01:06:50.000Z (about 4 years ago)
- Last Synced: 2025-04-06T05:00:02.553Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 67.8 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Development
```
$ yarn run local
```
Testing API, Open http://localhost:8081/.
Add mock data to Firestore, Open http://localhost:4000/.
### Environment
| Name | Description | Example |
| ---- | ---- | ---- |
| FIRESTORE_EMULATOR_HOST | Port number of Firebase local emulator | 8080 |
| GCLOUD_PROJECT | Project ID of dev env Google Cloud Project | posusume-dev |
| APP_FIREBASE_AUTH_TEST_USER_ID | Test User ID | hogehoge |
| APP_GRAPHQL_SCEHMA_PATH | Sepcify GraphQL file path | /workspace/package/graphql/schemas |
### Serve
```
$ cd app/
$ yarn firebase
$ yarn dev
```