It's just a little front end site for blogging, talking about new projects and exporing new technologies
- Next js latest
- Prismic
- GraphQL
- Typescript
- Styled components
- Set up environment variables
- Create a .env.local file:
- Add the prismic credentials
NEXT_PUBLIC_PRISMIC_API_TOKEN=...
NEXT_PUBLIC_PRISMIC_REPOSITORY_NAME=...
NEXT_PUBLIC_PRISMIC_REPOSITORY_LOCALE=...
yarn
to install depsyarn dev
to start the project locally
Prismic types are auto generated using prismic ts codegen https://prismic.io/docs/technical-reference/prismic-ts-codegen