Skip to content

# ✅ Subscription Management System This project is a fully functional, production-ready **Subscription Management System** built using Node.js, Express, and MongoDB. It provides secure authentication, robust subscription CRUD operations, and clear API documentation — all designed for scalable backend architecture.

Notifications You must be signed in to change notification settings

AliyanA1/subscription-tracker

Repository files navigation

📦 Subscription Management System

A secure, production-ready backend for managing user subscriptions, payments, and automated workflows.

This project is a backend service for a real-world SaaS subscription system, designed with scalability, security, and extensibility in mind.


🧠 Key Features

  • JWT Authentication for user sessions
  • MongoDB schema design for users, subscriptions, and payments
  • RESTful API architecture
  • Role-based Access Control (RBAC)
  • Email Reminders via QStash + Nodemailer
  • Rate-limiting & Security via Arcjet
  • .env environment support for development & production

📚 Documentation

🛠 Tech Stack

Technology Purpose
Node.js + Express Backend framework
MongoDB Database for user & subscription data
JWT Authentication tokens
Bcrypt Secure password hashing
Arcjet Protection & rate limiting
QStash (Upstash) Scheduled email jobs
Nodemailer Email sending

📁 Project Setup

1. Clone the Repository

git clone [email protected]:AliyanA1/subscription-tracker.git
cd subscription-tracker

2. Install Dependencies

npm install

3. Configure Environment Variables

Create two environment files:

.env.development.local

.env.production.local

Start by copying from the example:

cp .env.example

4. Running Locally Start QStash (for email reminders) in a separate terminal:

npx @upstash/qstash-cli dev

npm run dev


🐛 Found a Bug?

“If you find a bug in this project, congratulations — you're now a developer.”

bug-fix-meme

Feel free to:

  • 🛠️ Fix it
  • 🔁 Open a pull request
  • 💬 Or create an issue — so we can squash it together

Your contributions are welcome and appreciated!


📄 License This project is currently private and intended for learning & personal use. Licensing terms may change when the project is completed.

About

# ✅ Subscription Management System This project is a fully functional, production-ready **Subscription Management System** built using Node.js, Express, and MongoDB. It provides secure authentication, robust subscription CRUD operations, and clear API documentation — all designed for scalable backend architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published