https://github.com/zeropaper/zeropaper-style
Personal web page of Valentin "zeropaper" Vago.
https://github.com/zeropaper/zeropaper-style
personal-site
Last synced: 5 months ago
JSON representation
Personal web page of Valentin "zeropaper" Vago.
- Host: GitHub
- URL: https://github.com/zeropaper/zeropaper-style
- Owner: zeropaper
- Created: 2017-09-07T14:43:37.000Z (almost 9 years ago)
- Default Branch: next
- Last Pushed: 2025-03-25T07:19:26.000Z (about 1 year ago)
- Last Synced: 2025-03-25T07:28:25.315Z (about 1 year ago)
- Topics: personal-site
- Language: TypeScript
- Homepage: https://zeropaper.style
- Size: 11 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zeropaper.style
https://next.zeropaper.style/
Valentin "zeropaper" Vago personal page.
## Architecture
* NextJS compiles the code to a static website
* Vercel is used for hosting
* Tina CMS is used to edit the content and some site wide settings
When using Tina, a GraphQL server is spawned on port `4001` and NextJS can use it to query the data (e.g. create pages).
In order for the CMS to work correctly with the cloud interface / API, the content of the
[`.tina/__generated__`](./.tina/__generated__/) must be managed by Git and up-to-date (`npm run build:tina`).
## CMS users
The managment of the user can be done on https://app.tina.io/users.
## Scripts
When you use the `npm start` command, the following scripts are run (in parallel):
* Tina CMS for local development, which starts
* NextJS dev (`npx next dev`)
* Storybook in development mode (`npm run start:storybook`)
## Development
In local development, credentials are not needed to access the local CMS server.
The https://tina-gql-playground.vercel.app/ has a lot of useful examples for the Tina GraphQL API and their usage.
## Environment variables
See [`.env.example`](./.env.example)