My personal website that primarily to host my blog and others such as profile, portfolio, and talks.
Built using:
- React (with Gatsby) + Typescript for main stack
- Contentful for content
- TailwindCSS for styling
- Gatsby Cloud for build and hosting
Open here https://iwgx.io
- Create
.env.development
file in root project, then fill it withContentful
environment variables
CONTENTFUL_ACCESS_TOKEN=**************
CONTENTFUL_HOST=**********
CONTENTFUL_SPACE_ID=******
ENABLE_GATSBY_REFRESH_ENDPOINT=true
with ENABLE_GATSBY_REFRESH_ENDPOINT
set to true, it's enable us to refresh data without having to restart development server. To refresh the data, just open http://localhost:8000/___graphql
and click "Refresh Data" button.
- Install dependencies
yarn install
- Run it
yarn start
- Push any change to github
git push
- It's already integrated with Gatsby Cloud Hosting so after any push it will be updated