Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

FalkorDB/falkordb-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

falkordb-cloud

This is a FalkorDB sandbox Dashboard project and it's Next.js project .

image

Getting Started

  • First, get the .env.local file with credentials to the development environment, you can copy .env.local.template.

The .env.local should include the following variables

# GITHUB Auth credentials
GITHUB_ID=[ID]
GITHUB_SECRET=[SECRET]

# Google Auth credentials
GOOGLE_CLIENT_ID=[CLIENT_ID]
GOOGLE_CLIENT_SECRET=[CLIENT_SECRET]

# AWS credentials
AWS_SECRET_ACCESS_KEY=[SECRET_ACCESS_KEY]
AWS_ACCESS_KEY_ID=[ACCESS_KEY_ID]

# Next secrets
NEXTAUTH_URL=[URL]
NEXTAUTH_SECRET=[SECRET]
NEXT_PUBLIC_GOOGLE_ANALYTICS=[ANALYTICS]

# Postgres connection details
POSTGRES_PASSWORD=[PASSWORD]
POSTGRES_USER=[USER]
POSTGRES_DATABASE=[DATABASE]
POSTGRES_HOST=[HOST]
POSTGRES_PORT=[PORT]

# Sentry credentials
SENTRY_AUTH_TOKEN=[TOKEN]
  • Second run the postgres database:
docker run --rm -it --network host --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword postgres

Conenct to the Postgres server and create a database called falkordb

  • Then, run the development server:
npm install
npm run 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 Inter, a custom Google Font.

Learn More

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