Skip to content

theopensystemslab/fairhold-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun 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:

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

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.

Architecture

flowchart LR
    classDef todo stroke-dasharray: 5 5

    subgraph "fairhold-data"
        S1[(Source 1)] <---> Script
        S2[(Source 2)] <---> Script
        S3[(Source 3)] <---> Script
    end

    subgraph "DB tools"
        LD[(Local disk)] --> UpdateData
        LD <--> Backup
        LD --> Restore
    end

    subgraph "Local development"
        NextLocal[Next.js App]
        PrismaLocal[Prisma]
        LocalDB[(Database)]
        PrismaLocal <--> NextLocal
        LocalDB <--> PrismaLocal
    end
    
    subgraph "CI/CD"
        GitHub["GitHub actions"]
    end


    subgraph "Production (Vercel)"
        NextProd[Next.js App]
        PrismaProd[Prisma]
        ProdDB[(Database)]
        PrismaProd <--> NextProd
        ProdDB <--> PrismaProd
    end

    Script -- Writes to --> LD

    Restore -- .env.local --> LocalDB
    Backup <-- .env.production --> ProdDB
    UpdateData:::todo -- .env.production --> ProdDB
    
    PrismaLocal -- "Migration files" --> GitHub
    GitHub -- "Merge to main" --> ProdDB
Loading

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages