Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdtehseenkhan/expense-tracker
https://github.com/mdtehseenkhan/expense-tracker
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdtehseenkhan/expense-tracker
- Owner: MdTehseenKhan
- Created: 2023-08-19T17:44:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-10T19:16:13.000Z (9 months ago)
- Last Synced: 2024-11-13T19:42:47.874Z (2 months ago)
- Language: TypeScript
- Homepage: https://expense--tracking.vercel.app
- Size: 3.51 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expense Tracker App
This application has developed to solve a problem of budget and expense management to reduce financial stress and anxiety.
## Tech Stack:
- Next.js + Typescript
- Tailwindcss
- Shadcn UI
- NextAuth
- Next.js API Routes (for backend)
- PrismaLibraries
- Zod
- React Hook Form
- React Hot Toast
- Chart.js + React Charjs 2## Installing Dependecies
Run this command to install all the required:
```bash
npm install
```## SetUp Environment Variables
The .env.local file will contain:
```bash
DATABASE_URL=""GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""NEXTAUTH_SECRET=""
```## SetUp Database
You can choose which database you want to use in `prisma/schema.prisma` file and add the specific URL for the database to `.env.local` file. To push database to production.
```bash
npx primsa db push
```For generating client code
```bash
npx primsa generate
```You can run below command to visualize the data stored in your database.
```bash
npx prisma studio
```**Note:** A `"postinstall": "prisma generate"` script is added to the `package.json` file to make prisma run in production version.
Now that you have Set-up all the pre-requisites, you are good to go. Go ahead and run the application.
```bash
npm run dev
```