UAMangaAPI is a RESTful API built using ASP.NET Core for managing manga-related data.
- GET
/manga
- Returns all manga in the database.
- GET
/manga/{publisher}
- Returns manga published by the specified publisher.
- GET
/manga/Search/{name}
- Returns manga whose name contains the specified text. Optionally, you can provide a publisher name to narrow down the search results.
- GET
/user/GetInfo/{userId}
- Returns information about the user with the specified ID.
- POST
/user/Register/{username}/{password}
- Registers a new user with the provided username and password. Returns the user ID upon successful registration.
- POST
/user/Login/{username}/{password}
- Logs in a user with the provided username and password. Returns the user ID upon successful login.
- POST
/wishlist/Add/{userId}/{mangaId}
- Adds a manga to the wishlist of the specified user.
- POST
/wishlist/Remove/{userId}/{mangaId}
- Removes a manga from the wishlist of the specified user.
- POST
/own/Add/{userId}/{mangaId}
- Adds a manga to the owned list of the specified user.
- POST
/own/Remove/{userId}/{mangaId}
- Removes a manga from the owned list of the specified user.
- ASP.NET Core
- Entity Framework Core
- HTMLAgilityPack
- Microsoft.EntityFrameworkCore
To get started with this API, follow these steps:
- Clone this repository.
- Install the required dependencies.
- Configure your database connection in
appsettings.json
. - Run the application.
Contributions are welcome! Please feel free to open an issue or submit a pull request with any improvements or additional features.
This project is licensed under the MIT License - see the LICENSE file for details.