{"id":13414642,"url":"https://chandan-02.github.io/anime-facts-rest-api/","last_synced_at":"2025-03-14T22:31:55.159Z","repository":{"id":41335702,"uuid":"408761456","full_name":"chandan-02/anime-facts-rest-api","owner":"chandan-02","description":"An API in Node.js that will return anime facts","archived":false,"fork":false,"pushed_at":"2024-06-26T13:33:11.000Z","size":87,"stargazers_count":31,"open_issues_count":3,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-31T21:53:11.288Z","etag":null,"topics":["express","nodejs","postgresql","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chandan-02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-21T09:34:38.000Z","updated_at":"2024-07-15T05:18:48.000Z","dependencies_parsed_at":"2024-10-26T11:21:44.117Z","dependency_job_id":"d945610c-f84a-488d-a72a-c0b0c1d76582","html_url":"https://github.com/chandan-02/anime-facts-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandan-02%2Fanime-facts-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandan-02%2Fanime-facts-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandan-02%2Fanime-facts-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandan-02%2Fanime-facts-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandan-02","download_url":"https://codeload.github.com/chandan-02/anime-facts-rest-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243657998,"owners_count":20326456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","nodejs","postgresql","rest-api"],"created_at":"2024-07-30T21:00:31.859Z","updated_at":"2025-03-14T22:31:54.818Z","avatar_url":"https://github.com/chandan-02.png","language":"JavaScript","funding_links":[],"categories":["Index","\u003ca id=\"anime\"\u003e\u003c/a\u003e🌸 Anime"],"sub_categories":["Anime","📚 Additional Resources"],"readme":"\n# anime-facts-rest-api 🐱‍🚀\n\nAn API in Node.js that will return anime facts. [Check docs](https://chandan-02.github.io/anime-facts-rest-api/)\n\n# Usage :\n\n  \u003e Note: This project is being hosted on Heroku with free dyno; so, there can/will be a delay for the first time you make a request, subsequent requests will be faster.\n\n### Home Route\nGet all the available anime's list : `https://anime-facts-rest-api.herokuapp.com/api/v1`\n*returns* : \n```\n{\n\tsuccess:true,\n\tdata: [\n\t\t{\n\t\t\tanime_id: 1,\n\t\t\tanime_name: \"bleach\",\n\t\t\tanime_img: \"https://eaxmpleimage.com/\"\n\t\t},\n\t\t{\n\t\t\tanime_id: 2,\n\t\t\tanime_name: \"black_clover\",\n\t\t\tanime_img: \"https://eaxmpleimage2.com/\"\n\t\t},\n\t\t...\n\t]\n}\n```\n### Anime Facts Route \nGet all facts related to an Anime  : `https://anime-facts-rest-api.herokuapp.com/api/v1/:anime_name`\n\u003e Provide an anime name (from the available option) in place of `:anime_name`\n\n***Example*** : \n`https://anime-facts-rest-api.herokuapp.com/api/v1/fma_brotherhood`\n*returns* : \n```\n{\n\tsuccess:true,\n\ttotal_facts: 8,\n\tanime_img:\"https://eaxmpleimage.com/\",\n\tdata: [\n\t\t{\n\t\t\tfact_id: 1,\n\t\t\tfact: \"Ishvalans And Ametris Conflict Is Based On Hokkaido s Ainu People\"\n\t\t},\n\t\t{\n\t\t\tfact_id: 2,\n\t\t\tfact: \"Arakawa Actually Bought Military Prop Guns For Drawing References\"\n\t\t},\n\t\t...\n\t]\n}\n```\n### Specific Fact Route \nGet all facts related to an Anime  : `https://anime-facts-rest-api.herokuapp.com/api/v1/:anime_name/:fact_id`\n\u003e Provide an anime name \u0026 fact id (from the available option) in place of `:anime_name \u0026 :fact_id`\n\n***Example*** : \n`https://anime-facts-rest-api.herokuapp.com/api/v1/fma_brotherhood/2`\n*returns* : \n```\n{\n\tsuccess:true,\n\tdata: {\n\t\t\tfact_id: 2,\n\t\t\tfact: \"Arakawa Actually Bought Military Prop Guns For Drawing References\"\n\t}\n\t\n}\n```\n\n# [Rebuild project](https://www.youtube.com/watch?v=PDl5CP9XZwo) :\n\n- Clone the repo : `git clone https://github.com/chandan-02/anime-facts-rest-api.git`\n\n- Install necessary dependencies : `cd anime-facts-rest-api` \u0026 `npm install`\n\n- Create a database and tables in postgreSQL \u0026 add data in them ( use data.sql ).\n\n- Create an .env file and fill the required **postgres connection** details.\n\n- Run : `npm run dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/chandan-02.github.io%2Fanime-facts-rest-api%2F","html_url":"https://awesome.ecosyste.ms/projects/chandan-02.github.io%2Fanime-facts-rest-api%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/chandan-02.github.io%2Fanime-facts-rest-api%2F/lists"}