This is an app for managment of wealth. It allows you to introduce your finance and display different financial statements
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
api: a fastify apiweb: a Next.js appui: a stub React component library shared by applicationsschemas: a set of TypeBox schemas shared by applicationseslintconfig:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons used throughout the monorepobabelconfig:babelconfigurations
A tools.js script exists to handle the development environment installation.
To install all dependencies run the following command:
node tools.js install
To create the environment files run the following command:
node tools.js install-env
There are two ways to run the local environment to start develop.
-
Using Docker:
To build the docker image run the following command:
node tools.js docker-buildOnce the process has finished, you'd need to modify your
.envfiles first according to your setup. Check the default SuperTokens and PostgreSQL configuration in the docker-compose.yml file.-
apps/api/.env
-
apps/web/.env.local
To start the local development environment run the following command:
docker-compose up -
-
Without Docker:
This application depends on:
-
SuperTokens to handle user authentication.
-
PostgreSQL to store all data.
You can run those dependencies using Docker or standalone. Please make sure your
.envfiles are configured correctly.-
apps/api/.env
-
apps/web/.env.local
To start the development server run the following command:
yarn dev -