A Node.js application to manage and track subscriptions, users, and workflows. This project provides RESTful APIs for authentication, subscription management, and user workflows, with MongoDB as the database.
- User authentication (register, login)
- Subscription CRUD operations
- User management
- Workflow management
- Email notifications
- Environment-based configuration
├── app.js # Main application entry point
├── config/ # Configuration files
├── controller/ # Route controllers
├── database/ # Database connection
├── middleware/ # Express middlewares
├── model/ # Mongoose models
├── routes/ # API route definitions
├── utils/ # Utility functions (email, templates, etc.)
├── package.json # Project metadata and dependencies
- Node.js (v16 or higher recommended)
- MongoDB instance (local or cloud)
- Clone the repository:
git clone <repo-url> cd subscription-tracker
- Install dependencies:
npm install
- Create a
.envfile in the root directory and configure your environment variables (see.env.exampleif available).
npm startThe server will start on the port specified in your .env file (default: 3000).
/api/auth- Authentication routes/api/subscriptions- Subscription management/api/users- User management/api/workflows- Workflow management
Refer to the controller and route files for detailed endpoint information.
npm start- Start the servernpm run dev- Start the server with nodemon (if configured)
MIT