Skip to content

Nexis-Network/nexis-ai-cloud-console

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Environment

Copy .env.example to .env.local and set the required values:

  • NEXT_PUBLIC_PRIVY_APP_ID and PRIVY_APP_ID (must match)
  • PRIVY_VERIFICATION_KEY (from the Privy dashboard)
  • PRIVY_APP_SECRET (required for profile metadata updates)
  • Optional: NEXT_PUBLIC_PRIVY_CLIENT_ID
  • Optional: NEXIS_CLOUD_API_URL / NEXIS_CLOUD_API_VERSION
  • Optional service adapters: NEXIS_BILLING_API_URL, NEXIS_TEAMS_API_URL, NEXIS_AGENTS_API_URL
  • Optional API adapters: NEXIS_API_KEYS_API_URL, NEXIS_API_USAGE_URL, NEXIS_TRUST_CENTER_API_URL
  • Optional observability: SENTRY_DSN / NEXT_PUBLIC_SENTRY_DSN, NEXT_PUBLIC_POSTHOG_KEY, NEXT_PUBLIC_PLAUSIBLE_DOMAIN

First, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Database Setup

This project uses PostgreSQL with Prisma ORM.

Local Development

  1. Ensure you have a PostgreSQL database running.
  2. Update .env.local with your DATABASE_URL.
  3. Run migrations:
pnpm exec prisma migrate dev

Deployment (Railway)

This project is configured for deployment on Railway.

Deploy on Railway

  1. Click the "Deploy on Railway" button.
  2. Railway will import the repository and automatically provision a PostgreSQL database.
  3. The DATABASE_URL environment variable will be automatically linked.
  4. Required environment variables will be prompted (refer to .env.example).

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Nexis AI Cloud Console - Web Dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages