Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MangaFinderAPI

MangaFinderAPI is a simple API to manage and serve manga files.

Installation

  1. Clone the repository:

    git clone https://github.com/Picsou06/MangaFinderAPI.git
    cd MangaFinderAPI
  2. Install the dependencies:

    npm install

Setup

  1. Configure the .env file with your database access information. Rename the .env.exemple file in the root directory to .env and update the following content:
    DB_HOST=localhost
    DB_PORT=3306
    DB_USER=yourusername
    DB_PASSWORD=yourpassword
    DB_NAME=yourdatabasename
    DB_TABLE=yourtablename
    WEBSITE=yourwebsite
    PORT=3000
    

Manga Directory Structure

  1. Place your manga files in the mangas directory.
  2. Each manga should be placed in a folder named in the format: manga_name - language (e.g., Naruto - en).
  3. Inside each manga folder, each chapter should be in its own subfolder.
  4. Each manga folder should contain a cover.jpg image representing the cover of the manga.

Example structure:

mangas/
├── Naruto - en/
│   ├── cover.jpg
│   ├── Chapter 1/
│   │   ├── page1.jpg
│   │   ├── page2.jpg
│   ├── Chapter 2/
│   │   ├── page1.jpg
│   │   ├── page2.jpg
├── One Piece - fr/
│   ├── cover.jpg
│   ├── Chapter 1/
│   │   ├── page1.jpg
│   │   ├── page2.jpg

Running the API

  1. Start the API using the following command:

    node app.js
  2. The API should now be running and accessible at the specified port.

Enjoy using MangaFinderAPI!

About

API Node.js/Express qui sert les chapitres de manga (couverture, pages) stockés localement, avec une base MariaDB. Backend de l'app MangaFinder.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages