{"id":19610624,"url":"https://github.com/douaaaaa/rest-api","last_synced_at":"2026-04-12T18:03:09.049Z","repository":{"id":250870969,"uuid":"835661644","full_name":"douaaaaa/REST-API","owner":"douaaaaa","description":"A REST API built with Node JS and Express","archived":false,"fork":false,"pushed_at":"2024-08-12T17:42:54.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T10:03:24.996Z","etag":null,"topics":["api-rest","expressjs","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","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/douaaaaa.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-07-30T09:31:11.000Z","updated_at":"2024-08-12T17:42:57.000Z","dependencies_parsed_at":"2024-07-30T15:03:40.129Z","dependency_job_id":null,"html_url":"https://github.com/douaaaaa/REST-API","commit_stats":null,"previous_names":["douaaaaa/rest-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douaaaaa%2FREST-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douaaaaa%2FREST-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douaaaaa%2FREST-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douaaaaa%2FREST-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douaaaaa","download_url":"https://codeload.github.com/douaaaaa/REST-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240898959,"owners_count":19875286,"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-rest","expressjs","javascript","nodejs"],"created_at":"2024-11-11T10:31:11.634Z","updated_at":"2026-04-12T18:03:08.982Z","avatar_url":"https://github.com/douaaaaa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Express REST API\n\nThis repository contains a RESTful API created using Node.js and Express.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- Node.js installed on your local machine\n- npm or yarn package manager installed\n\n## Get started\n\nTo install the dependencies and run the API, follow these steps:\n\n1. Clone this repository to your local machine:\n\n```\n  git clone https://github.com/douaaaaa/REST-API\n```\n\n2. Navigate to the project directory:\n\n```\n  cd REST_API\n```\n\n3. Install dependencies using npm or yarn:\n\n```\n  npm install express uuid dotenv\n```\n\n4. Start the server:\n\n```\n  npm run dev\n```\n\nThe server will start running at http://localhost:8000 by default.\n\n## API Endpoints\n\n- GET /users: Get all users or limited number of them using the query parameter \"limit\"\n- GET /users/:id: Get a specific user using thier unique id\n- POST /users: Create a new user\n- DELETE /users/:id: Delete a specific user using their unique id\n- PATCH /users/:id: Update user's data who is specified by their id (Partial Update)\n\n## Usage\n\nThis API was developed primarily for learning purposes to deepen my understanding of backend web development using Node.js and Express. Below are examples demonstrating how to interact with the API endpoints. These examples showcase basic CRUD operations and illustrate how data can be retrieved, created, updated, and deleted through HTTP requests. Feel free to explore and modify the endpoints to see how they interact with different data and responses. As this project evolves, additional functionalities and improvements may be added based on continued learning and experimentation with Node.js and web APIs.\n\n## Contributing\n\n1. Fork the repository\n2. Create a new branch\n\n```\n  git checkout -b feature\n```\n\n3. Make your changes\n4. Commit your changes\n\n```\n  git commit -am 'Add feature'\n```\n\n5. Push to the branch\n\n```\n  git push origin feature\n```\n\n6. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouaaaaa%2Frest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouaaaaa%2Frest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouaaaaa%2Frest-api/lists"}