Skip to content

cassiocappellari/transactions-viewer-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Transactions Viewer APP

πŸ“‹ Index

πŸ—ƒ About

Transactions Viewer is a Single Page Application that allows users to import CSV financial transactions files through an API endpoint and then exhibits all them in a table in the client side. Besides that, this web application also provides the possibility of filtering transactions by month and checking each transaction details.

πŸ€– Technologies

Front-end

  • Vue.js
  • JavaScript
  • GraphQL
  • Vue Apollo
  • Vue Router
  • V-mask

Back-end

  • Node.js
  • TypeScript
  • Prisma
  • GraphQL
  • GraphQL Tools
  • Express GraphQL
  • Express
  • Multer
  • Luxon

Database

  • PostgreSQL

πŸš€ Features

  • πŸ“ƒ List transactions
  • πŸ“† Filter transactions by date range (start month / end month)
  • πŸ”Ž Verify transaction details
  • πŸ“¦ Import transactions CSV files (back-end service)

You can test the features by sending the GraphQL Queries or HTTP Requests through the button bellow:

Run in Insomnia}

In order to use the import CSV files feature, the transactions table must have this 11 columns:

id account description category reference currency amount status transactionDate createdAt updatedAt

πŸ›  How to Run

# Clone this repository

$ git clone https://github.com/cassiocappellari/transactions-viewer-app

# Enter the project folder

$ cd transactions-viewer-app

πŸ—„ Back-end

# Enter the server folder

$ cd server

Before install the server dependencies, configure the database .env variable:

πŸ”‘ .env

key value
DATABASE_URL "postgresql://postgres:postgres@localhost:5432//transactions-viewer"
# Install the dependencies

$ npm install

# Start the server

$ npm run dev

πŸ’½ Database

# Run a Docker PostgreSQL container

docker run --name postgresql-transactions-viewer-app -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres

# Link Prisma schema and DATABASE_URL variable

$ npx prisma generate

# Run the migrations

$ npx prisma migrate dev

πŸ’» Front-end

# Enter the client folder

$ cd client

# Install the dependencies

$ npm install

# Start the project

$ npm run serve

# Access the app

http://localhost:8080

πŸ‘¨β€πŸš€ Author

CΓ‘ssio Cappellari


Developed with 🀍 by CÑssio Cappellari!

About

πŸ—ƒ Web app developed with Vue.js, GraphQL, Node.js and Prisma.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors