Once you've opened this package in Replit, you can "Run" the project once you set the following environment variables in "Secrets":
- `NMBR_API_KEY`
- `NMBR_API_SECRET`
- `NMBR_PARTNER_ID`
Here's how to find or generate these values from the Nmbr Partner Portal:
Then make any edits you'd like in the files, and refresh the tab to see the changes.
For more about Nmbr Components, see our documentation.
- Node.js (version specified in
.node-version
; recommend using nodenv or nvm) - pnpm (fast, space-efficient package manager; recommend installing via Corepack)
pnpm run dev # start dev server
pnpm run build # build static output
pnpm run start # start api + static server
Please set these up in your environment or in a .env
file in the root of the repo.
# Required to run the repl && embedder
NMBR_API_KEY="your-api-key"
NMBR_API_SECRET="your-api-secret"
NMBR_PARTNER_ID="your-partner-id"