A simple Anime API with user registration, email notifications, and Telegram notifications.
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file with the required environment variables - Start the server:
npm start
MONGO_URI
: MongoDB connection URIJWT_SECRET
: Secret key for JWTEMAIL_USER
: Email address for sending notificationsEMAIL_PASS
: Password for the email addressTELEGRAM_BOT_TOKEN
: Telegram bot tokenTELEGRAM_CHAT_ID
: Telegram chat ID
POST /api/auth/register
: Register a new user
API documentation is available at /docs