{"id":26060040,"url":"https://github.com/networkflux/subscription-api","last_synced_at":"2026-04-08T12:34:14.071Z","repository":{"id":279291516,"uuid":"936056353","full_name":"NetworkFlux/Subscription-API","owner":"NetworkFlux","description":"Subscription Tracker API","archived":false,"fork":false,"pushed_at":"2025-03-05T16:06:43.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T17:23:28.162Z","etag":null,"topics":["api","arcjet","backend","expressjs","javascript","mongodb","mongoose","nextjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetworkFlux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-20T13:09:11.000Z","updated_at":"2025-03-05T16:07:04.000Z","dependencies_parsed_at":"2025-02-25T10:16:21.986Z","dependency_job_id":null,"html_url":"https://github.com/NetworkFlux/Subscription-API","commit_stats":null,"previous_names":["networkflux/subscription-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkFlux%2FSubscription-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkFlux%2FSubscription-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkFlux%2FSubscription-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkFlux%2FSubscription-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetworkFlux","download_url":"https://codeload.github.com/NetworkFlux/Subscription-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242559202,"owners_count":20149326,"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","backend","expressjs","javascript","mongodb","mongoose","nextjs"],"created_at":"2025-03-08T13:49:23.060Z","updated_at":"2025-12-30T19:35:15.082Z","avatar_url":"https://github.com/NetworkFlux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr /\u003e\n    \u003cimg src=\"https://i.ibb.co/xtTbHkfs/Readme-Thumbnail.png\" alt=\"Project Banner\"\u003e\n  \u003cbr /\u003e\n  \n  \u003cdiv\u003e\n    \u003cimg src=\"https://img.shields.io/badge/node.js-339933?style=for-the-badge\u0026logo=Node.js\u0026logoColor=white\" alt=\"node.js\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/express.js-000000?style=for-the-badge\u0026logo=express\u0026logoColor=white\" alt=\"express.js\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-MongoDB-13aa52?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white\" alt=\"mongodb\" /\u003e\n  \u003c/div\u003e\n\n  \u003ch3 align=\"center\"\u003eA Subscription Management System API\u003c/h3\u003e\n\n\u003c/div\u003e\n\n## 📋 \u003ca name=\"table\"\u003eTable of Contents\u003c/a\u003e\n\n1. 🤖 [Introduction](#introduction)\n2. ⚙️ [Tech Stack](#tech-stack)\n3. 🔋 [Features](#features)\n4. 🤸 [Quick Start](#quick-start)\n\n## \u003ca name=\"introduction\"\u003e🤖 Introduction\u003c/a\u003e\n\nA **production-ready Subscription Management System API** that handles **real users, real money, and real business logic**.  \n\nAuthenticate users using JWTs, connect a database, create models and schemas, and integrate it with ORMs. Structure the architecture of the API to ensure scalability and seamless communication with the frontend.  \n\n## \u003ca name=\"tech-stack\"\u003e⚙️ Tech Stack\u003c/a\u003e\n\n- Node.js\n- Express.js\n- MongoDB\n- Mongoose\n- ArcJet\n- NodeMailer\n\n## \u003ca name=\"features\"\u003e🔋 Features\u003c/a\u003e\n\n👉 **Advanced Rate Limiting and Bot Protection**: with Arcjet that helps you secure the whole app.\n\n👉 **Database Modeling**: Models and relationships using MongoDB \u0026 Mongoose.\n\n👉 **JWT Authentication**: User CRUD operations and subscription management.\n\n👉 **Global Error Handling**: Input validation and middleware integration.\n\n👉 **Logging Mechanisms**: For better debugging and monitoring.\n\n👉 **Email Reminders**: Automating smart email reminders with workflows using Upstash.\n\nand many more, including code architecture and reusability\n\n## \u003ca name=\"quick-start\"\u003e🤸 Quick Start\u003c/a\u003e\n\nFollow these steps to set up the project locally on your machine.\n\n**Prerequisites**\n\nMake sure you have the following installed on your machine:\n\n- [Git](https://git-scm.com/)\n- [Node.js](https://nodejs.org/en)\n- [npm](https://www.npmjs.com/) (Node Package Manager)\n\n**Cloning the Repository**\n\n```bash\ngit clone https://github.com/NetworkFlux/Subscription-API\ncd Subscription-API\n```\n\n**Installation**\n\nInstall the project dependencies using npm:\n\n```bash\nnpm install\n```\n\n**Set Up Environment Variables**\n\nCreate a new file named `.env.local` in the root of your project and add the following content:\n\n```env\n# PORT\nPORT=5500\nSERVER_URL=\"http://localhost:5500\"\n\n# ENVIRONMENT\nNODE_ENV=development\n\n# DATABASE\nDB_URI=\n\n# JWT AUTH\nJWT_SECRET=\nJWT_EXPIRES_IN=\"1d\"\n\n# ARCJET\nARCJET_KEY=\nARCJET_ENV=\"development\"\n\n# UPSTASH\nQSTASH_URL=http://127.0.0.1:8080\nQSTASH_TOKEN=\n\n# NODEMAILER\nEMAIL_PASSWORD=\n```\n\n**Running the Project**\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:5500](http://localhost:5500) in your browser or any HTTP client to test the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkflux%2Fsubscription-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworkflux%2Fsubscription-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkflux%2Fsubscription-api/lists"}