Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perkzen/finanzo
Finanzo is a finanace managing tool that I build for my self.
https://github.com/perkzen/finanzo
mysql nextauth nextjs planetscale prisma react trpc typescript
Last synced: about 1 month ago
JSON representation
Finanzo is a finanace managing tool that I build for my self.
- Host: GitHub
- URL: https://github.com/perkzen/finanzo
- Owner: perkzen
- Created: 2022-06-11T08:45:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T16:29:22.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T13:12:45.467Z (almost 2 years ago)
- Topics: mysql, nextauth, nextjs, planetscale, prisma, react, trpc, typescript
- Language: TypeScript
- Homepage: https://finanzo.vercel.app/
- Size: 1.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Finanzo - A financial management tool
# Why Finanzo?
Just as a company needs to take care of their finances, so each individual must take responsibility for their finances
if they want to make some progress in the financial field.# Features
- Create/Delete yearly report
- Create/Delete transaction item
- Create/Delete upcoming payment
- List all transactions by month
- Finance analysis# Tech stack:
T3 stack - https://init.tips/other
### Frontend:
- TailwindCSS
- Next.js
- tRPC
- react hook form
- Chart.js
- Zod
- react-hot-toast### Backend:
- NextAuth
- tRPC
- Prisma
- PlanetScale MySQL Database# Env exmaple
```dotenv
DATABASE_URL="mysql://127.0.0.1:3306/finanzo"
NEXTAUTH_SECRET=secret
NEXTAUTH_URL=http://localhost:3000
NODE_ENV=development
GOOGLE_CLIENT_ID=google-client-id
GOOGLE_CLIENT_SECRET=google-sceret
```# Getting started
### Start Next project
```bash
$ npm install
$ npm run dev
```### Start Prisma
```bash
$ npx prisma db pull
$ npx prisma generate
```To push prisma schema to database run :
```bash
$ npx prisma db push
```To view database tables run :
```bash
$ npx prisma studio
```### Start database
If you are on a Mac you need to install the CLI first :
```bash
$ brew install planetscale/tap/pscale
```You need privileges from admin to connect to the database :
```bash
$ pscale connect finanzo
```# Todo
- [ ] add tests
- [ ] add details when click on transaction