{"id":15190492,"url":"https://github.com/t2ny/f1drivers-api","last_synced_at":"2026-02-27T01:32:37.903Z","repository":{"id":224562789,"uuid":"763572677","full_name":"t2ny/F1Drivers-API","owner":"t2ny","description":"A RESTful API built with NodeJS and MongoDB exposes endpoints to retrieve F1 drivers information","archived":false,"fork":false,"pushed_at":"2024-02-26T20:38:35.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T04:54:35.754Z","etag":null,"topics":["expressjs","mongodb","mongoosejs","nodejs","odm","rest-api","restful","services"],"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/t2ny.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-02-26T14:47:47.000Z","updated_at":"2024-02-26T15:28:59.000Z","dependencies_parsed_at":"2024-09-11T11:16:55.860Z","dependency_job_id":"29976a1b-bcc1-4a70-9584-9692d384eec3","html_url":"https://github.com/t2ny/F1Drivers-API","commit_stats":null,"previous_names":["t2ny/f1drivers-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/t2ny/F1Drivers-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ny%2FF1Drivers-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ny%2FF1Drivers-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ny%2FF1Drivers-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ny%2FF1Drivers-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t2ny","download_url":"https://codeload.github.com/t2ny/F1Drivers-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ny%2FF1Drivers-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283652060,"owners_count":26871285,"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","status":"online","status_checked_at":"2025-11-10T02:00:06.292Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["expressjs","mongodb","mongoosejs","nodejs","odm","rest-api","restful","services"],"created_at":"2024-09-27T20:40:17.462Z","updated_at":"2025-11-10T09:02:48.948Z","avatar_url":"https://github.com/t2ny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# F1 Drivers REST API\n\n### Introduction\n\nThis REST API was built as a hobby project so that users can get F1 drivers information.\n\n### F1 Drivers REST API Features (updated as new features are added)\n\n- Users can get all drivers.\n- Users can search for a driver by name.\n\n### Installation Guide (If you want to run locally)\n\n- Fork and clone the repository [here](https://github.com/t2ny/F1Drivers-API).\n- Run `npm i` to install all required dependencies\n- You can choose to run MongoDB Atlas cloud or a local MongoDB.\n- Create a config folder in the root of the project and add a dev.env file.\n- Inside the dev.env file add `PORT=\u003cvalue\u003e` and `MONGODB=\u003cvalue\u003e` keys.\n- Add your `PORT` number and `MONGODB` connection string.\n\n### Usage (Local)\n\n- Run `npm run dev` to start the application.\n- Connect to the API using any REST client (Postman, Insomnia...) of your choice.\n\n### Usage (Service)\n\n- Run `npm run dev` to start the application.\n\n### API Endpoints\n\n| HTTP Verbs | Endpoints                       | Action                                      |\n| ---------- | ------------------------------- | ------------------------------------------- |\n| GET        | /api/drivers                    | To get all drivers                          |\n| GET        | /api/drivers/search?name=daniel | Get all drivers that matches the name query |\n\n### Technologies Used\n\n- [NodeJS](https://nodejs.org/) This is a cross-platform runtime environment built on Chrome's V8 JavaScript engine used in running JavaScript codes on the server.\n- [ExpressJS](https://www.expresjs.org/) This is a NodeJS web application framework.\n- [MongoDB](https://www.mongodb.com/) This is a free open source NOSQL document database with scalability and flexibility. Data are stored in flexible JSON-like documents.\n- [Mongoose ODM](https://mongoosejs.com/) This makes it easier to work with non-relational data by creating a schema of our models.\n\n### Authors\n\n- [t2ny](https://github.com/t2ny)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft2ny%2Ff1drivers-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft2ny%2Ff1drivers-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft2ny%2Ff1drivers-api/lists"}