{"id":15489597,"url":"https://github.com/pablopunk/apios","last_synced_at":"2025-03-28T16:18:00.559Z","repository":{"id":57182162,"uuid":"147843721","full_name":"pablopunk/apios","owner":"pablopunk","description":"🌱Automatic API for mongodb","archived":false,"fork":false,"pushed_at":"2019-06-01T16:41:31.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T00:34:23.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://apios.pablopunk.now.sh","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/pablopunk.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}},"created_at":"2018-09-07T15:43:43.000Z","updated_at":"2025-02-22T08:22:29.000Z","dependencies_parsed_at":"2022-09-14T06:01:16.017Z","dependency_job_id":null,"html_url":"https://github.com/pablopunk/apios","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fapios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fapios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fapios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fapios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablopunk","download_url":"https://codeload.github.com/pablopunk/apios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246059337,"owners_count":20717085,"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-10-02T07:06:37.010Z","updated_at":"2025-03-28T16:18:00.533Z","avatar_url":"https://github.com/pablopunk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌱 apios\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/pablopunk/apios\"\u003e\u003cimg src=\"https://img.shields.io/travis/pablopunk/apios.svg\" /\u003e \u003c/a\u003e\n  \u003ca href=\"https://github.com/pablopunk/miny\"\u003e\u003cimg src=\"https://img.shields.io/badge/made_with-miny-1eced8.svg\" /\u003e \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/pablopunk/art/raw/master/apios/apios-page.png\" alt=\"Header\" /\u003e\n\u003c/p\u003e\n\n\n## Introduction\n\n*Apios* is a web server that automatically exposes an API for a mongodb database. *If you have a database, you have an API*.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/pablopunk/art/raw/master/apios/apios.png\" alt=\"Schema\" /\u003e\n\u003c/p\u003e\n\n\n## Usage\n\nFirst, clone this repo ([or use now.sh](#deploy))\n\n```bash\n$ git clone https://github.com/pablopunk/apios\n$ cd apios\n$ npm install\n```\n\nThen enter the paramenters of your database inside a `.env` file:\n\n```sh\n# .env\nDB_URL=mongodb://my-url.com:1234/db-name\nDB_USER=pablo\nDB_PASS=pass42\n```\n\nThat's it. Now run the server:\n\n```bash\n$ npm start\n```\n\nNow go to http://localhost:3000 and you'll see a list of your database collections.\n\nIf you want to retrieve an specific collection, use the name of the collection after the URL: http://localhost:3000/animals\n\n\u003eMore coming soon...\n\n\n## Deploy\n\nI personally use [now.sh](http://now.sh) to deploy this as it's super easy, fast and secure:\n\n```bash\n$ now -e DB_URL=mongodb://.../dbName -e DB_USER=you -e DB_PASS=1234\n```\n\n\n## Related\n\n* *WIP*. Rust implementation of this repo: [rust-apios](https://github.com/pablopunk/rust-apios)\n\n\n## License\n\nMIT\n\n\n## Author\n\n| ![me](https://gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?size=100)           |\n| --------------------------------- |\n| [Pablo Varela](https://pablo.life)   |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablopunk%2Fapios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablopunk%2Fapios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablopunk%2Fapios/lists"}