Skip to content

KyuuRzy/apinew

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyuu API

Description

A simple Anime API with user registration, email notifications, and Telegram notifications.

Installation

  1. Clone the repository
  2. Install dependencies: npm install
  3. Create a .env file with the required environment variables
  4. Start the server: npm start

Environment Variables

  • MONGO_URI: MongoDB connection URI
  • JWT_SECRET: Secret key for JWT
  • EMAIL_USER: Email address for sending notifications
  • EMAIL_PASS: Password for the email address
  • TELEGRAM_BOT_TOKEN: Telegram bot token
  • TELEGRAM_CHAT_ID: Telegram chat ID

Endpoints

  • POST /api/auth/register: Register a new user

Swagger

API documentation is available at /docs

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.7%
  • JavaScript 37.0%
  • CSS 4.3%