{"id":18487278,"url":"https://github.com/botirk38/concurrentserve","last_synced_at":"2025-05-13T22:15:34.983Z","repository":{"id":211703116,"uuid":"729773966","full_name":"botirk38/concurrentServe","owner":"botirk38","description":"ConcurrentServe is a compact, multithreaded web server in C, designed for educational purposes. It demonstrates TCP/IP networking, thread management, and HTTP protocol handling, offering a practical approach to learning low-level network programming.","archived":false,"fork":false,"pushed_at":"2023-12-21T14:38:31.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T14:42:59.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/botirk38.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.MD","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":"2023-12-10T10:14:22.000Z","updated_at":"2023-12-11T09:22:44.000Z","dependencies_parsed_at":"2024-11-06T12:53:44.375Z","dependency_job_id":"1ab68a43-ee02-4fca-88de-dd7f5c98dd3d","html_url":"https://github.com/botirk38/concurrentServe","commit_stats":null,"previous_names":["botirk38/concurrentserve"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botirk38%2FconcurrentServe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botirk38%2FconcurrentServe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botirk38%2FconcurrentServe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botirk38%2FconcurrentServe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botirk38","download_url":"https://codeload.github.com/botirk38/concurrentServe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239202344,"owners_count":19599183,"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":[],"created_at":"2024-11-06T12:50:22.361Z","updated_at":"2025-02-16T22:19:25.737Z","avatar_url":"https://github.com/botirk38.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ConcurrentServe\n\n## Description\nThis project is a concurrent server built in C, designed to handle multiple client requests simultaneously. It integrates MongoDB for data storage, allowing CRUD (Create, Read, Update, Delete) operations on a MongoDB database. The server uses OpenSSL for SSL encryption, ensuring secure data transmission.\n\n## Features\n- Concurrent handling of client requests using threads.\n- SSL encryption for secure communication.\n- Integration with MongoDB for persistent data storage.\n- Supports CRUD operations via HTTP methods: GET, POST, PUT, DELETE.\n- JSON parsing for request and response handling.\n- Modularized code structure for easy maintenance and scalability.\n\n## Installation\n\n### Prerequisites\n- C compiler (GCC or Clang)\n- OpenSSL\n- MongoDB C Driver\n- cJSON library\n\n### Steps\n1. Clone the repository:\n   ```bash\n   git clone [https://github.com/botirk38/concurrentServe]\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd [server]\n   ```\n\n3. Compile the server:\n   ```bash\n   make\n   ```\n\n## Usage\nTo start the server, run the compiled executable:\n```bash\n./server\n```\n\nThe server will start listening for client connections on the specified port.\n\n## API Endpoints\nThe server supports the following endpoints:\n- `GET /resource`: Fetches data from the MongoDB database.\n- `POST /resource`: Creates new data in the MongoDB database.\n- `PUT /resource`: Updates existing data in the MongoDB database.\n- `DELETE /resource`: Deletes data from the MongoDB database.\n\n## Contributing\nContributions to this project are welcome. Please fork the repository and submit a pull request with your changes.\n\n## License\nThis project is licensed under the [MIT License](LICENSE).\n\n## Contact\nFor any queries or contributions, please contact [btrghstk@gmail.com].\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotirk38%2Fconcurrentserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotirk38%2Fconcurrentserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotirk38%2Fconcurrentserve/lists"}