{"id":15154285,"url":"https://github.com/sour0v1/sg-server","last_synced_at":"2026-03-06T06:32:38.748Z","repository":{"id":246367752,"uuid":"820394798","full_name":"sour0v1/sg-server","owner":"sour0v1","description":"This repository contains the server-side code for a library management system. It provides a robust backend solution for a platform that allows users to explore, search, and borrow books.","archived":false,"fork":false,"pushed_at":"2024-08-21T09:11:55.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T13:12:48.798Z","etag":null,"topics":["api","expressjs","middlware","mongodb-database","server"],"latest_commit_sha":null,"homepage":"https://swapnashray-granthagar.web.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sour0v1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-26T11:36:07.000Z","updated_at":"2024-08-21T09:11:59.000Z","dependencies_parsed_at":"2024-08-09T07:26:35.368Z","dependency_job_id":"563d8a3a-c5fb-4164-acbb-aea76608e143","html_url":"https://github.com/sour0v1/sg-server","commit_stats":null,"previous_names":["sour0v1/swapnashray-server","sour0v1/sg-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sour0v1/sg-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sour0v1%2Fsg-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sour0v1%2Fsg-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sour0v1%2Fsg-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sour0v1%2Fsg-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sour0v1","download_url":"https://codeload.github.com/sour0v1/sg-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sour0v1%2Fsg-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","expressjs","middlware","mongodb-database","server"],"created_at":"2024-09-26T17:20:48.549Z","updated_at":"2026-03-06T06:32:38.722Z","avatar_url":"https://github.com/sour0v1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sg-server\nThis repository contains the Express.js server code for [sg-client](https://github.com/sour0v1/sg-client). The platform allows users to explore, search, and borrow books. The backend is managed using Express and MongoDB, with JWT used for authentication.\n\n## How to use\n  ### Prerequisites\n  Make sure you have the following installed: \n   - **Node.js**\n   - **npm**\n   - **MongoDB**(local or cloud)\n  ### Installation\n  **1. Clone the repository:**\n  ```\n git clone https://github.com/sour0v1/sg-server.git\n cd sg-server\n  ```\n **2. Install dependencies:**\n ```\nnpm install\n ```\n### Environment Variables\nCreate a **.env** file in the root directory and add the following environment variables:\n```\nMONGODB_USER=your_mongodb_user_name\nMONGOD_PASSWORD=your_mongodb_password\nJWT_SECRET=your_jwt_secret_key\n```\n### Running the server\n```\nnode index.js\n```\nThe server will automatically restart when changes are detected, and it will run on **http://localhost:5000** by default.\n\n## Technology Used\n- **Backend:** Express.js\n- **Database:** MongoDB\n- **Authentication:** JWT(JSON Web Tokens)\n- **Environment Variables:** dotenv\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsour0v1%2Fsg-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsour0v1%2Fsg-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsour0v1%2Fsg-server/lists"}