Releases: cpojha/Subscription-API
Releases · cpojha/Subscription-API
New-Release
🚀 Subscription API - v1.0.0
🎉 Initial Release
This is the first release of Subscription API, a robust backend system for managing user subscriptions with authentication and secure token-based access.
🛠 Features
✅ User Authentication: Secure JWT-based login and signup
✅ Refresh Tokens: Implements refresh token mechanism for session management
✅ Subscription Management: Easily manage user subscriptions
✅ MongoDB Integration: Uses Mongoose for seamless database operations
✅ RESTful API: Well-structured API endpoints for smooth integration
📦 Installation
- Clone the repository
git clone https://github.com/cpojha/Subscription-API.git cd Subscription-API - Install dependencies
npm install - Set up environment variables
Create a.envfile and add:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key REFRESH_SECRET=your_refresh_token_secret - Run the API
The server will start at
npm starthttp://localhost:5000
🔗 API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/signup | Register a new user |
| POST | /api/auth/login | Authenticate user |
| POST | /api/auth/refresh | Generate new access token |
| GET | /api/subscription | Get user subscription info |
| POST | /api/subscription | Create a subscription |
🛠️ Improvements in Future Releases
- ✅ Role-based access control (RBAC)
- ✅ Subscription plan upgrades
- ✅ API rate limiting for security
- ✅ Webhooks for real-time updates
🎯 Contributors
💡 Have feedback or ideas? Open an issue or submit a pull request! 🚀
This markdown can be used in your GitHub releases section. Let me know if you need any modifications! 😊
Here's a **Markdown release note** for your **Subscription-API** project: