Skip to content

pay-theory/gigpay-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GigPay

A freelancer invoice and payment tracking platform. Bright Pixel Creative uses it to manage invoices from freelance contractors. Contractors submit invoices, the agency marks them paid or pending, and everyone tracks payment status through a shared web interface.

Tech Stack

  • Language: JavaScript (Node.js)
  • Framework: Express.js
  • Database: SQLite (via better-sqlite3)
  • Templating: EJS
  • Testing: Jest

Prerequisites

Getting Started

Clone the repository, then:

# Install dependencies
npm install

# Start the application
npm start

The database is created and seeded with sample data automatically on first run.

The app will be available at http://localhost:3000.

Running Tests

# Run all tests
npm test

# Run tests with coverage
npm run test:coverage

Available Scripts

Command Description
npm start Start the application
npm test Run all tests
npm run test:coverage Run tests with code coverage
npm run seed Re-seed the database

Project Structure

gigpay/
├── models/              # Data models (Freelancer, Project, Invoice)
├── routes/              # Express route handlers
├── views/               # EJS templates
├── tests/               # Jest test suite
├── docs/                # Project documentation
│   ├── SPEC.md          # Product specification
│   └── TEST_PLAN.md     # Test plan
├── db.js                # Database connection and setup
├── seed.js              # Sample data seeder
├── server.js            # Application entry point
└── package.json

License

This project is licensed under the MIT License. See LICENSE for details.

About

Freelancer invoice and payment tracking platform built with Node.js and Express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors