{"id":26279826,"url":"https://github.com/nivindulakshitha/subscription-tracker","last_synced_at":"2025-05-07T03:04:19.208Z","repository":{"id":281450384,"uuid":"933557580","full_name":"nivindulakshitha/Subscription-Tracker","owner":"nivindulakshitha","description":"Skip the basic CRUD - this Backend is all about building a production-ready Subscription Management System with real users, real money, and real business logic. JWT authentication, database modeling, API architecture, security, automated workflows, and much more!","archived":false,"fork":false,"pushed_at":"2025-03-13T04:19:49.000Z","size":111,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"Master","last_synced_at":"2025-05-07T03:03:56.996Z","etag":null,"topics":["api","arcjet","expressjs","javascript","mongodb","nodejs","upstash"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nivindulakshitha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-16T08:55:09.000Z","updated_at":"2025-04-11T17:11:32.000Z","dependencies_parsed_at":"2025-03-09T07:29:39.877Z","dependency_job_id":null,"html_url":"https://github.com/nivindulakshitha/Subscription-Tracker","commit_stats":null,"previous_names":["nivindulakshitha/subscription-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FSubscription-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FSubscription-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FSubscription-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nivindulakshitha%2FSubscription-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nivindulakshitha","download_url":"https://codeload.github.com/nivindulakshitha/Subscription-Tracker/tar.gz/refs/heads/Master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252804206,"owners_count":21806769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","arcjet","expressjs","javascript","mongodb","nodejs","upstash"],"created_at":"2025-03-14T14:17:04.171Z","updated_at":"2025-05-07T03:04:19.186Z","avatar_url":"https://github.com/nivindulakshitha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Subscription Management System API  \n\n## 🤖 Introduction  \nThis project is a **production-ready Subscription Management System API** that handles real users, real money, and real business logic.  \n\n🔐 **Features include:** Authentication with JWTs, database integration with MongoDB, API scalability, and seamless communication with the frontend.  \n\n\n## ⚙️ Tech Stack  \n- **Node.js** - JavaScript runtime  \n- **Express.js** - Web framework  \n- **MongoDB \u0026 Mongoose** - Database \u0026 ORM  \n\n\n## 🔋 Features  \n\n✅ **Advanced Rate Limiting \u0026 Bot Protection**  \n   - Powered by **Arcjet** to secure the entire application.  \n\n✅ **Database Modeling**  \n   - Structured with **MongoDB \u0026 Mongoose** to manage users and subscriptions.  \n\n✅ **JWT Authentication**  \n   - Secure login, user management, and subscription handling.  \n\n✅ **Global Error Handling**  \n   - Input validation, middleware integration, and standardized error responses.  \n\n✅ **Logging Mechanisms**  \n   - Efficient logging for debugging and monitoring API performance.  \n\n✅ **Automated Email Reminders**  \n   - Uses **Upstash** to schedule and send smart email notifications.  \n\n🔹 **And much more**, including **clean architecture** and **code reusability**.  \n\n\n## 🚀 Getting Started  \n\n### 🔧 Installation  \n\n1. Clone the repository:  \n   ```sh\n   git clone https://github.com/your-username/your-repo.git\n   cd your-repo\n   ```  \n\n2. Install dependencies:  \n   ```sh\n   npm install\n   ```  \n\n3. Set up environment variables:  \n   - Create a `.env` file in the root directory.  \n   - Add required credentials like JWT_SECRET, DB_URI, etc.  \n\n4. Start the development server:  \n   ```sh\n   npm run dev\n   ```  \n\n---\n\n## 🏗 API Endpoints  \n\n| Method | Endpoint           | Description                      |\n|--------|--------------------|----------------------------------|\n| POST   | `/api/auth/signup` | Register a new user             |\n| POST   | `/api/auth/login`  | User login with JWT             |\n| GET    | `/api/users`       | Fetch all users (admin only)    |\n| POST   | `/api/subscription` | Create a new subscription       |\n| GET    | `/api/subscription/:id` | Fetch subscription details |\n\n📌 **More endpoints available in the documentation.**  \n\n---\n\n## 🎯 Contributing  \n\n💡 Contributions are welcome! Feel free to submit issues or pull requests.  \n\n1. Fork the repository  \n2. Create a new branch: `git checkout -b feature-branch`  \n3. Commit changes: `git commit -m \"Added new feature\"`  \n4. Push: `git push origin feature-branch`  \n5. Open a Pull Request  \n\n\n## 📜 License  \n\nThis project is licensed under the **MIT License**.  \n\n\n### ⭐ If you found this useful, don’t forget to give a star! 🌟  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnivindulakshitha%2Fsubscription-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnivindulakshitha%2Fsubscription-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnivindulakshitha%2Fsubscription-tracker/lists"}