{"id":23028547,"url":"https://github.com/max-im/polls-crud","last_synced_at":"2026-04-11T01:45:41.269Z","repository":{"id":268130769,"uuid":"903409336","full_name":"Max-im/polls-crud","owner":"Max-im","description":"This project provides a simple CRUD (Create, Read, Update, Delete) API for managing polls. Users can create new polls, retrieve existing polls, update polls, and delete polls. The API also supports searching polls by their question field and includes plans for pagination and other features.","archived":false,"fork":false,"pushed_at":"2024-12-16T04:25:12.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T10:45:54.745Z","etag":null,"topics":["docker","docker-compose","express","mongodb","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Max-im.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-12-14T14:31:19.000Z","updated_at":"2024-12-16T04:25:16.000Z","dependencies_parsed_at":"2024-12-14T15:31:36.613Z","dependency_job_id":"52e4ebc2-d817-48d0-b0a4-e7f45856b2e3","html_url":"https://github.com/Max-im/polls-crud","commit_stats":null,"previous_names":["max-im/polls-crud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Max-im%2Fpolls-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Max-im%2Fpolls-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Max-im%2Fpolls-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Max-im%2Fpolls-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Max-im","download_url":"https://codeload.github.com/Max-im/polls-crud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246885076,"owners_count":20849612,"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":["docker","docker-compose","express","mongodb","nodejs","typescript"],"created_at":"2024-12-15T14:11:41.446Z","updated_at":"2026-04-11T01:45:41.233Z","avatar_url":"https://github.com/Max-im.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polls CRUD\n\nThis project provides a simple CRUD (Create, Read, Update, Delete) API for managing polls. Users can create new polls, retrieve existing polls, update polls, and delete polls. The API also supports searching polls by their question field and includes plans for pagination and other features.\n\n## Tech\n- Node.js\n- Express.js\n- MongoDB\n- TypeScript\n\n## Postman\n- [Postman Collection](./postman/polls.postman_collection.json)\n- [Postman Environment](./postman/polls.postman_environment.json)\n\n## Polls API\nMethod | Endpoint   | Description\n------ | ---------- | ------------------------------------------\nPOST   | /polls     | Create a new poll\nGET    | /polls     | Get all polls (with search and pagination)\nGET    | /polls/:id | Get a specific poll by ID\nPUT    | /polls/:id | Update a specific poll\nDELETE | /polls/:id | Delete a specific poll\n\n## Development\n- Clone this repository in the current folder:\n  ```sh\n  git clone https://github.com/Max-im/polls-crud.git .\n  ```\n- Make sure your current Node.js version is 18 or higher:\n  ```sh\n  export NVM_DIR=\"$([ -z \"${XDG_CONFIG_HOME-}\" ] \u0026\u0026 printf %s \"${HOME}/.nvm\" || printf %s \"${XDG_CONFIG_HOME}/nvm\")\"\n  [ -s \"$NVM_DIR/nvm.sh\" ] \u0026\u0026 \\. \"$NVM_DIR/nvm.sh\" # This loads nvm\n  nvm use 18\n  ```\n- Run the command:\n  ```sh\n  npm run dev\n  ```\n\n## Production\n- Run the command:\n  ```sh\n  docker-compose up\n  ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-im%2Fpolls-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-im%2Fpolls-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-im%2Fpolls-crud/lists"}