The app is built with NextJS 14, Typescript and TailwindCSS as our web app framework.
We also use shadcn/ui as our underlying UI library.
Run the following to install all the dependencies:
npm ci
To run development server:
npm run dev
To create the production app:
npm run build
To start the standalone production app after building:
npm run start
Note that the
public
or.next/static
folders are not copied to the standalone build folder during building based on NextJS's default output after build. Do copy them manually intostandalone/public
andstandalone/.next/static
if necessary.
To run Type check:
npm run check-types
To run Prettier format check:
npm run check-format
To run Prettier format:
npm run format
To run ESLint:
npm run check-lint
To run all checks:
npm run test-all
Do note that Flowforge repository implemented pre-commit hooks to run all these checks with Husky.
We utilize the following environment variables for the Flowforge app. Please create an .env.local
in development to store these variables:
NEXT_PUBLIC_APP_ENV=dev
# Add your own Auth0 Domain
NEXT_PUBLIC_AUTH0_DOMAIN=
# Add your own Auth0 Client ID
NEXT_PUBLIC_AUTH0_CLIENT_ID=
# Add your own Auth0 Client Secret
NEXT_PUBLIC_AUTH0_CLIENT_SECRET=
NEXT_PUBLIC_APP_BASE_URL=http://localhost:3000
NEXT_PUBLIC_AUTH0_AUDIENCE=https://flowforge.com
Here are the libraries that the frontend uses: