{"id":26250570,"url":"https://github.com/nec0ti/librisapi","last_synced_at":"2025-04-24T03:12:07.117Z","repository":{"id":280492948,"uuid":"942094740","full_name":"Nec0ti/LibrisAPI","owner":"Nec0ti","description":"A REST API for managing a book collection. Built with Node.js, Express, and MongoDB.","archived":false,"fork":false,"pushed_at":"2025-04-14T20:58:37.000Z","size":119,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T03:11:56.608Z","etag":null,"topics":["api","api-documentation","api-rest","auth","authentication","authorization","book-management","books","catalog","crud-api","documentation","express","expressjs","jwt","library-api","mangodb","node","nodejs","rest-api","restful-api"],"latest_commit_sha":null,"homepage":"http://librisapi.necoti.dev","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/Nec0ti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"necotidev","thanks_dev":null,"custom":null}},"created_at":"2025-03-03T15:07:28.000Z","updated_at":"2025-03-12T15:10:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd13bb35-5fb3-4ff7-bffc-c4a8125c9b7b","html_url":"https://github.com/Nec0ti/LibrisAPI","commit_stats":null,"previous_names":["nec0ti/librisapi"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nec0ti%2FLibrisAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nec0ti%2FLibrisAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nec0ti%2FLibrisAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nec0ti%2FLibrisAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nec0ti","download_url":"https://codeload.github.com/Nec0ti/LibrisAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250552073,"owners_count":21449165,"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":["api","api-documentation","api-rest","auth","authentication","authorization","book-management","books","catalog","crud-api","documentation","express","expressjs","jwt","library-api","mangodb","node","nodejs","rest-api","restful-api"],"created_at":"2025-03-13T16:19:53.443Z","updated_at":"2025-04-24T03:12:07.072Z","avatar_url":"https://github.com/Nec0ti.png","language":"JavaScript","readme":"# LibrisAPI\n\nLibrisAPI is a RESTful API for managing your personal book collection.\n\n## Purpose\n\nThis API allows you to:\n\n*   Create, retrieve, update, and delete books.\n*   Authenticate users with JWT (JSON Web Tokens).\n\n## Documentation\n\nFor detailed information on how to use the API, please refer to the [LibrisAPI Documentation](https://docs.librisapi.necoti.dev).\n\n## Getting Started\n\n1.  Clone the repository:\n\n    ```bash\n    git clone https://github.com/Nec0ti/LibrisAPI/\n    cd LibrisAPI\n    ```\n\n2.  Install dependencies:\n\n    ```bash\n    npm install\n    ```\n\n3.  Set up environment variables:\n\n    Create a `.env` file with the following variables:\n\n    ```\n    MONGODB_URI=mongodb+srv://\u003cusername\u003e:\u003cpassword\u003e@\u003ccluster\u003e.mongodb.net/\u003cdatabase\u003e?retryWrites=true\u0026w=majority\n    JWT_SECRET=your_jwt_secret_key\n    ```\n\n4.  Start the server:\n\n    ```bash\n    npm run dev\n    ```\n\n## Endpoints\n\nHere are a few basic examples:\n\n*   **Register:** `POST /api/auth/register`\n    ```json\n    {\n      \"username\": \"testuser\",\n      \"password\": \"testpassword\"\n    }\n    ```\n\n*   **Login:** `POST /api/auth/login`\n    ```json\n    {\n      \"username\": \"testuser\",\n      \"password\": \"testpassword\"\n    }\n    ```\n\n*   **Get All Books:** `GET /api/books` (requires JWT token in `x-auth-token` header)\n\n## Contributing\n\nWe welcome contributions! Please feel free to open issues or submit pull requests.\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":["https://buymeacoffee.com/necotidev"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnec0ti%2Flibrisapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnec0ti%2Flibrisapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnec0ti%2Flibrisapi/lists"}