Warning
👷 Work in progress 👷
-
Docker
Nest.js
Prisma ORM
PostgreSQL
-
Frontend:
-
To setup the database, make sure you have built the container and that it has uploaded both the database and the backend:
1.1 Follow steps 1 and 2 from the
backend
section. -
If you structuring the database for the first time follow the steps below:
-
2.1. Enter inside the backend container:
docker compose exec -it finch-backend bash
-
2.2. Run the following command to create the database schema:
npx prisma migrate dev
-
2.3. Check if the database was structured correctly:
-
2.3.1. Run the following command to enter the database:
docker exec -it finch-db bash
-
2.3.2. Run the following command login in
psql
:psql -U root
-
2.3.3. Run the following command to list the databases, you should see the
finch
database:\l
-
2.3.4. Run the following command to list the tables, you should see all tables created by Prisma:
\c finch \dt
if you see the tables, the database was structured correctly :>
-
-
-
Create a
.env
file in thebackend
directory follow the.env.example
file as a template.: -
Run the following command to install the dependencies:
docker compose run --rm backend-deps
- Run the following command to start the backend:
-
3.1. If you run the backend for the first time, run the following command:
docker compose up --build
-
3.2. If you have already run the backend before, run the following command:
docker compose up finch-backend finch-db
-
To run the frontend, follow the instructions below its similar to the backend:
- Run the following command to install the dependencies:
docker compose run --rm frontend-deps
- Run the following command to start the container:
-
3.1. If you run the backend for the first time, run the following command:
docker compose up --build
-
3.2. If you have already run the backend before, run the following command:
docker compose up finch-frontend
-
😒 Tired of your finances being in disorder?
⛓️💥 No more complicated spreadsheets and confusing apps!
🤩 With Finch, you have one hassle-free place for all your finances.
Organize your accounts, track your spending, create budgets and achieve your financial goals more easily than ever.