Skip to content

nishank23/Invoice_NodeJs-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

176 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧾 Invoice Generator – Node.js Backend

A RESTful backend service for managing clients, products, and invoices.
Built using Node.js, Express, and MongoDB. This backend powers a Flutter-based invoice generator application.


🚀 Features

  • 🔐 JWT-based user authentication
  • 👤 Client management (Create, Read, Update, Delete)
  • 🛍 Product / service management
  • 🧾 Invoice creation & tracking
  • 📊 Basic invoice analytics
  • 🔎 Pagination & filtering support
  • 🛡 Protected routes with middleware

🛠 Tech Stack

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JWT Authentication
  • EJS (for invoice preview views)

📂 Project Structure

Invoice_NodeJs-/
├──controllers/
│ └── # Route logic
├── middleware/
│ └── # Authentication & error handling
├── models/
│ └── # Mongoose schemas
├── routes/
│ └── # API routes
├── utils/
│ └── # Helper utilities
├── views/
│ └── # EJS invoice templates
├── data/
│ └── # Sample / seed data
├── app.js
├── index.js
├── config.env.example
└── package.json

⚙️ Prerequisites

Ensure you have the following installed:

  • Node.js (v14 or higher)
  • npm
  • MongoDB (local or cloud)

🔐 Environment Variables

Create a config.env or .env file in the root directory: PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key


▶️ Installation & Running Locally

git clone https://github.com/nishank23/Invoice_NodeJs-.git
cd Invoice_NodeJs-
npm install
npm start


-------



About

Invoice generator backend built with Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors