SRA is a rest-api which is scraping to the samehadaku website and made up using Express.
Use the package manager npm to install SRA's package.
- Clone the Repo
- Install all packages using command
npm install
- Install nodemon package globaly in your computer
npm install -g nodemon
Start server with command:
npx nodemon
Then open localhost://3000
Url | Params | Type | Description |
---|---|---|---|
/ | - | - | homepage |
/page/{page} | page | number | homepage-pagination |
/blog | - | - | blog |
/blog/{page} | page | number | blog-pagination |
/blog/read/{id} | id | String | read blog |
/anime/{id} | id | String | detail anime |
/anime/eps/{link} | link | String | detail anime's eps |
/search/{title}/{page} | title, page | String, number | search anime |
/season | - | - | list anime of this season |
/date-release | - | - | anime release date |
/list-anime/{page} | page | number | list of all anime |
/blog-category/{category}/{page} | category, page | String, number | list items of category |
/tag/{tag} | tag | String | list items of tag |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
MIT Copyright (c) 2020-present, ahmadkhamdani9 (rizalord)