https://github.com/qlaffont/qlaffont-website
Professional Website hosted on @Vercel
https://github.com/qlaffont/qlaffont-website
nextjs portfolio-website professional react website
Last synced: 5 months ago
JSON representation
Professional Website hosted on @Vercel
- Host: GitHub
- URL: https://github.com/qlaffont/qlaffont-website
- Owner: qlaffont
- Created: 2022-06-30T06:14:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T08:26:03.000Z (11 months ago)
- Last Synced: 2024-10-29T09:47:28.850Z (11 months ago)
- Topics: nextjs, portfolio-website, professional, react, website
- Language: TypeScript
- Homepage: https://qlaffont.com
- Size: 5.39 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quentin Laffont Website
## Demo
## Dependencies
- Next (React Framework)
- pnpm (Package Manager)
- tailwind (CSS)
- rosetty-react (i18n)## Env Variables
You need to duplicate .env.example to .env and replace with your values
## Notion Instructions
- Duplicates templates for each pages
- Create an integration ()
- Copy Token to .env
- Invite your integration to your pages
- Precise on pages in getAllFieldsFromNotion parameter the id of your notion page (`https://www.notion.so/MY-ID-WITHOUT-URL-PARAMETER`)## Hashnode Instructions
- Get your dev token ()
- Copy Token to .env
- Precise your username in pages/news.tsx## Redis / Invalidation
To reduce issue with Notion Rate limit, we use Redis as Data cache.
You can force invalidation with /api/revalidate.To automate your website updates, you can use Zappier to automatically update your website as soon as a data is updated. More info : [https://zapier.com/shared/5163410c91f0b88704fc27f6fb59548549e6294a](https://zapier.com/shared/5163410c91f0b88704fc27f6fb59548549e6294a)
## Start (dev)
```sh
pnpm dev
```
## Start (prod)
```sh
pnpm build
pnpm start```