Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mizchi/next-boilerplate-20200727
https://github.com/mizchi/next-boilerplate-20200727
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/mizchi/next-boilerplate-20200727
- Owner: mizchi
- Created: 2020-07-27T13:35:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T12:34:58.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T16:40:53.141Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.8 MB
- Stars: 73
- Watchers: 2
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nextjs-boilerplate
## Stack
- Firebase Authentication
- react-firebase-hooks
- Graphql Codegen
- react-apollo hooks
- vercel functionAuth on client and validate it on server.(on Graphql)
## Setup
- Create your firebase project
- Get your firebase settings and put `src/config/firebaseConfig.json`
- Activate your auth provider [Firebase Authentication](https://firebase.google.com/docs/auth?hl=ja)
- Create admin config and put `src/config/firebaseAdminConfig.json`
- Firebase Console => Settings => ServiceAccount => Generate key
- https://firebase.google.com/docs/admin/setup## Develop
```bash
yarn install
yarn codegen # gen code
yarn vdev # run as `vercel dev` to pass vercel.json rewrites# graphql playground
# open http://localhost:3000/api/graphql
```## LICENSE
MIT