Skip to content

MAD413/finance-app

Repository files navigation

Finance App

A simple finance management application built with Node.js, Express, SQLite, and Tailwind CSS.

Features

  • User registration and login with fields: firstName, lastName, email, fax, password.
  • Sidebar navigation visible only after login, with toggle functionality.
  • Budget management, transaction tracking, and summary with charts.
  • Export transactions to CSV and backup data to SQL.
  • Responsive design with Tailwind CSS.
  • API documentation with Swagger.

Setup Instructions

Prerequisites

  • Node.js (v16 or higher)
  • npm

Installation

  1. Clone the repository:
    git clone <repository-url>
    cd finance-app
  2. Install dependencies:
    npm install
  3. Build Tailwind CSS:
    npm run build:css
  4. Update Browserslist database (if needed):
    npm run update-browserslist
  5. Start the server:
    npm start
  6. Open http://localhost:3000 in your browser.

Deployment (Render)

  1. Push the project to a GitHub repository.
  2. Create a new Web Service in Render (https://render.com).
  3. Configure:
    • Environment: Node
    • Build Command: npm install && npm run build:css
    • Start Command: npm start
  4. Deploy and access the provided URL.

Directory Structure

finance-app/
├── public/
│   ├── css/
│   │   ├── input.css
│   ├── index.html
├── server.js
├── tailwind.config.js
├── package.json
├── .gitignore
├── README.md

Notes

  • SQLite database (finance.db) is created automatically on first run.
  • The free tier of Render may cause the server to sleep after inactivity, leading to a slight delay on first load.
  • For persistent storage, consider using a managed database like PostgreSQL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors