/jcubed

A simple gender reveal website built using Next.js

Primary LanguageJavaScript

J Cubed

Rowan's gender reveal website built using Next.js, and the G-Suite Sheets API.

Getting Started

First, run the development server:

yarn dev

Setup

  • 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.

Resources

Deploy

  • Deploys are automatically triggered via Vercel integration. Log in to vercel to find out more information.