Skip to content

Monargoras/financegoras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

487 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Financegoras

Financegoras is a web application that helps users to manage their finances. It is built with Next.js, Mantine, and TypeScript.

Dashboard

Features

  • Dashboard - View your account balance, income, and expenses. Including different charts to visualize your financial data.
  • Transactions - Add, edit, and delete transactions.
  • Categories - Manage transaction categories.

Use locally

  • Database needed to run the application is not included in the repository
  • To setup SQL database, a MYSQL dump file to setup a new DB correctly is provided in the root directory of the project financegoras.sql
  • .env file is required to run the application, a sample .env file is provided in the root directory of the project sample.env
  • Run yarn install to install all the dependencies
  • Run yarn dev to start the application in development mode or yarn build to build the application and then yarn start to start the application in production mode

Deploy using NGINX and Docker

  • Database needed to run the application is not included in the repository
  • To setup SQL database, a MYSQL dump file to setup a new DB correctly is provided in the root directory of the project financegoras.sql
  • Environment variables required in file prod.env (in project root) on the server to run the application, a list of needed variables is provided in the root directory of the project sample.env
  • For SSL, a cert.pem and pkey.pem file is required in the nginx directory
  • Then run the following commands in the project root to deploy the application:
# Stop all running containers if needed
docker-compose down
# Run the application
docker-compose up -d
# Run the application with build
docker-compose up --build -d
# Remove images and cache from disk if needed
docker system prune

Deploy using Docker

  • Database needed to run the application is not included in the repository
  • To setup SQL database, a MYSQL dump file to setup a new DB correctly is provided in the root directory of the project financegoras.sql
  • Environment variables required to run the application, a list of needed variables is provided in the root directory of the project sample.env
  • Then run the following commands in the project root to deploy the application using Docker:
# Stop all running containers if needed
docker stop $(docker ps -a -q)
docker build -t financegoras .
docker run -p 80:3003 -e DB_URL -e GITHUB_ID -e GITHUB_SECRET -e NEXTAUTH_URL -e NEXTAUTH_SECRET financegoras
# Remove images and cache from disk if needed
docker system prune

Template Features

This mantine nextjs template comes with the following features:

yarn scripts

Build and dev scripts

  • dev – start dev server
  • build – bundle application for production
  • analyze – analyzes application bundle with @next/bundle-analyzer

Testing scripts

  • typecheck – checks TypeScript types
  • lint – runs ESLint
  • prettier:check – checks files with Prettier
  • jest – runs jest tests
  • jest:watch – starts jest watch
  • test – runs jest, prettier:check, lint and typecheck scripts

Other scripts

  • prettier:write – formats all files with Prettier

About

Financegoras allows to keep track of your income and expenses. Visualizing the given data in useful graphs and built on NextJS and Mantine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors