{"id":18320807,"url":"https://github.com/jefferson10147/unet-api","last_synced_at":"2026-05-17T19:34:27.036Z","repository":{"id":37244340,"uuid":"335804511","full_name":"jefferson10147/unet-api","owner":"jefferson10147","description":"Flask API with MongoDB and JWT.","archived":false,"fork":false,"pushed_at":"2021-04-17T01:59:36.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T08:30:55.076Z","etag":null,"topics":["flask-api","jwt","mongodb","python3","unet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jefferson10147.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-04T01:32:04.000Z","updated_at":"2022-06-20T21:10:18.000Z","dependencies_parsed_at":"2022-08-18T22:11:01.992Z","dependency_job_id":null,"html_url":"https://github.com/jefferson10147/unet-api","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/jefferson10147%2Funet-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson10147%2Funet-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson10147%2Funet-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson10147%2Funet-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jefferson10147","download_url":"https://codeload.github.com/jefferson10147/unet-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054961,"owners_count":21040098,"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":["flask-api","jwt","mongodb","python3","unet"],"created_at":"2024-11-05T18:17:34.190Z","updated_at":"2025-10-27T14:11:13.541Z","avatar_url":"https://github.com/jefferson10147.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/9/96/Logo-unet_sin_texto_azul.png\"\u003e\n\u003c/p\u003e\n\n# Flask REST API with MongoDB\nThis is a REST API using python's microframework Flask, and NoSQL database MongoDB with Its mongo Atlas cloud manager. This API provides information of students at UNET, you can also make others CRUD operations like INSERT, PUT, or DELETE, but yow need to create an user and login to use JWT, to more information about this contact repo owner.\n\n## To run this API on your local machine\n1- Clone this project, on your local machine:\n```bash\n$ git clone https://github.com/jefferson10147/unet-api.git\n```\n2- Create a virtual env inside the folder:\n```bash\n$ python3 -m venv your_venv\n```\n3- Activate env:\n```bash\n$ source your_venv/bin/activate\n```\n4- Install dependencies:\n```bash\n$ pip install -r requirements.txt\n```\n5- Create and export variables to .flaskenv file:\n```bash\n$ touch .flaskenv\n$ echo \"FLASK_APP=main.py\" \u003e .flaskenv\n```\nAlso you can export another variables to put aplication into development mode:\n```bash\n$ echo \"FLASK_ENV=development\" \u003e\u003e .flaskenv\n```\n6- Create an .env file with these variables\n```\nsecret_key=your_app_secret_key\njwt_secret_key=your_jwt_secret_key\nadmin_key=your_admin_key\nusername_from_db=your_mongoDB_username\npassword_from_db=your_mongoDB_password\ndatabase_name=your_mongoDB_database\n```\n7- Run your app:\n```bash\n $ flask run\n```\nIf you are using a local mongo database, you need to edit this variable at app.settings.py:\n```python\nMONGO_URI = YOUR_MONGO_URI\n```\nYou can check all endpoints when you are running this API on your local machine: [DOCS](https://documenter.getpostman.com/view/8771822/TW77fNue)\n\n## API online\n\nThere is an online version of this API currently running at Heroku cloud. Visit [Home page](https://unet-api.herokuapp.com). You can try all search endpoints, but not Insert, Update, and Delete operations. See online documentation at [DOC](https://documenter.getpostman.com/view/8771822/TWDUoxJ2#ac0a8fec-3882-40c9-b923-39e8509137fc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefferson10147%2Funet-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefferson10147%2Funet-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefferson10147%2Funet-api/lists"}