Skip to content

Erick-Alen/Fincheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

Fincheck - Your personal financial application

About

🧐 About

This project was made from the classes inside the JStack course.

The application was made to be used as a financial controller of your finances, making it easy to make a balance of the income and outcomes of your accounts

Here, you can create bank accounts and activities where you money was destined to.

Recursos incluídos neste repositório:

  • Typescript: superset do JavaScript's superset with static typinc, completely optional, but recommended.

  • React: A library built with focus on building web interfaces from Javascript components.

Installation

You'll need to install nodeJS to run this application. Node is a cross-platform, open-source JavaScript runtime environment that can run on Windows, Linux, Unix, macOS, and etc. You can download the latest version on the Offical Site. It'as recommended to download the latest version maked as LTS (Long Term Support).

After that, it will be required for you to have a database to keep al the data in memory. The easier way to make it is Using Docker. Docker is a engine container that runs vrtual machines (VMs) from your computer kernel, making it easier to create and execute applications using containers. This assures you that the application running inside this isolated environment will not be affected by any version changes in your operational system, as well as making it easier to manage and scale these applications.

Running app in localhost

Building Postgres database with Docker

After installing docker, open your terminal and type the docker command to check if docker was installed effectivelly.

Then, type the following command into the terminal:

Here i'm defining the user and password as root and the port 5432 as the standard of postgres database, just to execute into the localhost. You can change it but don't forget to update the credentials in the DATABASE_URL environment variable in the .env inside the api folder.

Tags:

  • -e: environment variables;
  • -d: dettached mode, runs the docker container in background;
  • -p: define the ports that the database is being exposed for your computer.
docker run --name pg -e POSTGRES_USER=root -e POSTGRES_PASSWORD=root -d postgres -p 5432:5432

To execute the frontend and API, open two separate terminals, get into api and frontend folders in each one of them and execute the following commands:

Executing API on development mode

cd api

Installing the dependencies

yarn

Executing database migrations with Prisma ORM

yarn prisma migrate dev

Running in dev mode

yarn start:dev

Executing Frontend on development mode

cd frontend

Installing the dependencies

yarn

Running in dev mode

yarn dev

About

A personal financial application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors