Skip to content

Next.js + Typescript frontend to manage invoices & creditlines and connect to our backend

Notifications You must be signed in to change notification settings

ArboreumDev/invoice-finance-pilot-frontend

Repository files navigation

Invoice Financing Pilot Frontend

Next.js, Typescript & React Frontend

  • Dashboard for Suppliers to manage the Creditline-terms & their customer whitelist
  • v0 Dashboard for Loan Admin to initiate new loans against invoices & mark their status
  • Overview-Dashboard for Main-Creditor to see status of all Creditlines, total owed, total repaid...

dashboard whitelist terms admin

Local Development

Create a .env file and fill in the the following variables

BACKEND_URL="localhost:8000"

FIX: go to fetcher.js & put in the url of the backend manually! (not needed if you run everythin locally)

Install all requirements:

yarn

fire it up:

yarn dev

go to http://localhost:3000/ to see it in action

Production

use .env.local.prod

yarn next build
yarn next export
docker-compose build frontend

test by using the image: envfile: NEXT_PUBLIC_BACKEND="http://localhost:8000/" docker-compose up frontend

About

Next.js + Typescript frontend to manage invoices & creditlines and connect to our backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published