https://github.com/pgm-benobira/pgm-platform
Platform for the Programming Graduate made with React, linked to Hygraph (GraphCMS) for the content.
https://github.com/pgm-benobira/pgm-platform
css-modules hygraph react react-router seo
Last synced: about 1 month ago
JSON representation
Platform for the Programming Graduate made with React, linked to Hygraph (GraphCMS) for the content.
- Host: GitHub
- URL: https://github.com/pgm-benobira/pgm-platform
- Owner: pgm-benobira
- License: apache-2.0
- Created: 2024-06-15T20:04:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-15T20:05:56.000Z (almost 2 years ago)
- Last Synced: 2025-02-25T13:55:04.660Z (over 1 year ago)
- Topics: css-modules, hygraph, react, react-router, seo
- Language: JavaScript
- Homepage: https://pgm-platform-pgm-benobira.onrender.com
- Size: 6.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://classroom.github.com/a/zYbJnoN2)
# graphcms-boilerplate
GraphCMS Boilerplate
## Client
Create a new react app with create-react-app named `client`
create `.env`-file
`.env` file under the client folder with the following content:
```
REACT_APP_NODE_ENV=development
REACT_APP_HYGRAPH_CONTENT_API=
REACT_APP_HYGRAPH_ACCESS_TOKEN=e
REACT_APP_AUTH_KEY_LOCALSTORAGE=react-boilerplate-pgm-4:currentUser
```
## Seeder
`development.env` file under server folder with the following content:
```
NODE_ENV=development
HYGRAPH_CONTENT_API=
HYGRAPH_ACCESS_TOKEN=
```
## Server
`development.env` file under server folder with the following content:
```
NODE_ENV=development
HOST=127.0.0.1
POST=8080
JWT_SECRET=
JWT_EXPIRE=24h
HYGRAPH_CONTENT_API=
HYGRAPH_ACCESS_TOKEN=
```
## Deployment
### Stap 01

### Stap 02

### Stap 03

### Stap 04
