A full-featured subscription management API built with Node.js, Express, and MongoDB. Track users' subscriptions, send automated renewal reminders, and manage user accounts securely with JWT authentication.
- User Authentication: Secure login and registration using JWT tokens.
- Subscription Management: Create, read, update, and delete subscriptions.
- Automated Reminders: Send renewal reminders before subscription expiry.
- Bot Protection: Integrated Arcjet middleware for enhanced security.
- Error Handling: Centralized error handling middleware for consistent responses.
- Backend: Node.js, Express.js
- Database: MongoDB, Mongoose
- Authentication: JWT (JSON Web Tokens)
- Security: Arcjet, Cookie Parser
- Utilities: Day.js for date manipulation
- Node.js (v14 or higher)
- MongoDB (local or cloud instance)
-
Clone the repository:
git clone https://github.com/Josephat-S/subscription-tracker-using-express.js.git cd subscription-tracker-using-express.js -
Install dependencies:
npm install
-
Envirnment: Create a file called .env.example.local, and create variables as listed in .env.development.example*