Skip to content

geode-sdk/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 22, 2025
cfb6d07 · Feb 22, 2025
Feb 22, 2025
Apr 30, 2024
Jan 20, 2025
Apr 30, 2024
May 14, 2024
Jan 26, 2025
Aug 4, 2024
Jan 20, 2025
Dec 24, 2024
Jun 9, 2024
May 14, 2024
May 14, 2024

Repository files navigation

Geode Site (v2)

Geode Site. The second version

Developing

Once you've installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Configuration

The site uses the following (optional) static environment variables:

  • PUBLIC_API_ENDPOINT: Base API endpoint for all requests. Current default is "https://api.geode-sdk.org".

  • PRIVATE_API_ENDPOINT: API endpoint for requests made from the server, if enabled. This replaces the PUBLIC_API_ENDPOINT, so it should follow the same format.

  • PRIVATE_ENDPOINT_ENABLED: Enables the PRIVATE_API_ENDPOINT option if set to "true". Disabled by default.

  • PRIVATE_REDIS_URL: Allows for caching of some data (such as GitHub API requests) through Redis. Disabled by default.

nsfm (not safe for mat)