Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.11 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.11 KB

subscriptions-api

Easy to use API to manage subscriptions.

API Documentation

POST /user/create

Creates a new user and send a verification email.

verification-mail

GET /user/verify

Verifies the user's email. Used in the verification email.

DELETE /user/remove

Deletes the user, used to unsubscribe from the mailing list.

GET /all-verified

Returns all verified users. It is an admin route, requires AUTH_TOKEN.

DELETE /all-unverified

Removes all unverified users. It is an admin route, requires AUTH_TOKEN.

Running the app

Install the dependencies

pnpm install

Run the development server:

pnpm dev

Built with