Backend service for SubTrack, a subscription management application that helps users track subscriptions, spending, and renewal dates with analytics.
Built using Node.js, Express, MongoDB, and JWT authentication.
- User authentication (Register / Login)
- JWT-based protected routes
- Subscription CRUD operations
- Renewal date tracking
- Analytics-ready data (monthly spend, trends)
- Secure API with CORS & environment configs
- Node.js
- Express.js
- MongoDB + Mongoose
- JWT (Authentication)
- bcrypt (Password hashing)
- CORS
- dotenv
Create a .env file in the root directory:
MONGO_URI=your_mongo_url
JWT_SECRET=your_jwt_token
PORT=500git clone https://github.com/your-username/subtrack-backend.git
cd subtrack-backendnpm installnpm run dev