Giter Site home page Giter Site logo

parthpetkar / invoice-generator-using-electron.js Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 487 KB

This project was created for the company Inclined Engineering and Consultancy for managing their Invoices.

CSS 18.87% HTML 18.75% JavaScript 62.39%
docker electronjs kubernetes mysql sponsorships nodejs

invoice-generator-using-electron.js's Introduction

Invoice Generation System

๐ŸŽจ Table of Contents

Description

This project aims to provide a comprehensive solution for generating invoices using Electron.js, MySQL, and Node.js. It offers a user-friendly interface for managing invoices efficiently.

Contributors

Company Logo

Company Logo

Badges

License Build Status GitHub issues GitHub stars GitHub forks

Installation

To install and run this project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/parthpetkar/Invoice-Generator-using-Electron.js
    
  2. Navigate to the project directory:
    cd invoice_generator
    
  3. Install dependencies:
    npm install
    
  4. Set up MySQL database:
  • Create a MySQL database and import the schema from database_schema.sql.
    create schema invoice;
    use invoice;
    CREATE TABLE `customers` (
       `company_name` varchar(255) DEFAULT NULL,
       `address` varchar(255) DEFAULT NULL,
       `phone` varchar(20) DEFAULT NULL,
       `gstin` varchar(20) DEFAULT NULL,
       `pan` varchar(20) DEFAULT NULL,
       `cin` varchar(20) NOT NULL,
       PRIMARY KEY (`cin`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
    
    CREATE TABLE `projects` (
       `cin` varchar(20) NOT NULL,
       `pono` varchar(20) NOT NULL,
       `total_prices` decimal(10,2) DEFAULT NULL,
       `taxes` enum('GST','IGST') DEFAULT NULL,
       `project_name` varchar(255) DEFAULT NULL,
       PRIMARY KEY (`cin`,`pono`),
       CONSTRAINT `projects_ibfk_1` FOREIGN KEY (`cin`) REFERENCES `customers` (`cin`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
    
    CREATE TABLE `milestones` (
       `cin` varchar(20) NOT NULL,
       `pono` varchar(20) NOT NULL,
       `milestone_name` varchar(255) NOT NULL,
       `claim_percent` decimal(5,2) DEFAULT NULL,
       `amount` decimal(10,2) DEFAULT NULL,
       PRIMARY KEY (`cin`,`pono`,`milestone_name`),
       CONSTRAINT `milestones_ibfk_1` FOREIGN KEY (`cin`, `pono`) REFERENCES `projects` (`cin`, `pono`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
    
  • Update the MySQL connection details in .env.
    DB_HOST
    DB_USER
    DB_PASSWORD
    DB_DATABASE
    
    
  1. Run the code
    npm run watch
    
    

How to Use the Project

To use the project, follow these steps:

  1. Launch the application.
  2. Create a new invoice by filling in the required details.
  3. Save or print the generated invoice.

๐Ÿ› ๏ธ Contribution guidelines for this project

We welcome contributions from the community! To contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/contribution).
  3. Make your changes and commit them (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/contribution).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License.

Security

๐Ÿ”’ If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

invoice-generator-using-electron.js's People

Contributors

parthpetkar avatar parth1899 avatar yashparyani avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

invoice-generator-using-electron.js's Issues

Create customer Form incomplete

Center the next and previous buttons. Add a save button for each step and align it to the bottom right. The steps menu on the top center align it. Initially, when the browser is loaded even though taxes are not the tax type is displayed. In the milestone step, add space in the buttons. Also for the next and previous buttons if there is no last page the button should be disabled, and likewise for the next button.

Keep the theme Blue - White only.

Menu Bug

When we click on create customer we move to the next page after that the menu messes up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.