Skip to content

About

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.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Subscription Tracker API

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.

Features

  • 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.

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB, Mongoose
  • Authentication: JWT (JSON Web Tokens)
  • Security: Arcjet, Cookie Parser
  • Utilities: Day.js for date manipulation

Installation

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (local or cloud instance)

Steps

  1. Clone the repository:

    git clone https://github.com/Josephat-S/subscription-tracker-using-express.js.git
    cd subscription-tracker-using-express.js
  2. Install dependencies:

    npm install
  3. Envirnment: Create a file called .env.example.local, and create variables as listed in .env.development.example*

About

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.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages