Rowan's gender reveal website built using Next.js, and the G-Suite Sheets API.
First, run the development server:
yarn dev
- Uses dotenv to manage config. All config values are stored in a
.env.local
- Uses
google-spreadsheet
for data storage (sigh... I know, I know...). Documentation can be found here
Open http://localhost:3000 with your browser to see the result.
Pages will auto-update as you edit.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
- Next.js Documentation - learn about Next.js features and API.
- Google Spreadsheet API
- Deploys are automatically triggered via Vercel integration. Log in to vercel to find out more information.