{"id":24073464,"url":"https://github.com/4geeksacademy/lahuella-starwars-rest-api","last_synced_at":"2025-07-05T01:40:00.683Z","repository":{"id":268777003,"uuid":"905376598","full_name":"4GeeksAcademy/lahuella-StarWars-Rest-API","owner":"4GeeksAcademy","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-20T19:06:15.000Z","size":4501,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T11:06:32.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/4GeeksAcademy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGE_LOG.md","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,"zenodo":null}},"created_at":"2024-12-18T17:42:49.000Z","updated_at":"2025-04-04T02:53:03.000Z","dependencies_parsed_at":"2024-12-18T21:33:02.776Z","dependency_job_id":"11109713-897d-4b90-ac7b-5fcf33112022","html_url":"https://github.com/4GeeksAcademy/lahuella-StarWars-Rest-API","commit_stats":null,"previous_names":["4geeksacademy/lahuella-starwars-rest-api"],"tags_count":0,"template":false,"template_full_name":"4GeeksAcademy/flask-rest-hello","purl":"pkg:github/4GeeksAcademy/lahuella-StarWars-Rest-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4GeeksAcademy%2Flahuella-StarWars-Rest-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4GeeksAcademy%2Flahuella-StarWars-Rest-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4GeeksAcademy%2Flahuella-StarWars-Rest-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4GeeksAcademy%2Flahuella-StarWars-Rest-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4GeeksAcademy","download_url":"https://codeload.github.com/4GeeksAcademy/lahuella-StarWars-Rest-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4GeeksAcademy%2Flahuella-StarWars-Rest-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260346858,"owners_count":22995149,"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":"2025-01-09T17:28:46.999Z","updated_at":"2025-07-05T01:40:00.641Z","avatar_url":"https://github.com/4GeeksAcademy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://www.breatheco.de\"\u003e\u003cimg height=\"280\" align=\"right\" src=\"https://github.com/4GeeksAcademy/flask-rest-hello/blob/main/docs/assets/badge.png?raw=true\"\u003e\u003c/a\u003e\n\n# Flask Boilerplate for Junior Developers\n\nCreate flask API's in minutes, [📹 watch the video tutorial](https://youtu.be/ORxQ-K3BzQA).\n\n- [Extensive documentation here](https://start.4geeksacademy.com).\n- Integrated with Pipenv for package managing.\n- Fast deloyment to render.com or heroku with `$ pipenv run deploy`.\n- Use of `.env` file.\n- SQLAlchemy integration for database abstraction.\n\n## 1) Installation\n\nThis template installs itself in a few seconds if you open it for free with Codespaces (recommended) or Gitpod.\nSkip this installation steps and jump to step 2 if you decide to use any of those services.\n\n\u003e Important: The boiplerplate is made for python 3.10 but you can change the `python_version` on the Pipfile.\n\nThe following steps are automatically runned withing gitpod, if you are doing a local installation you have to do them manually:\n\n```sh\npipenv install;\npsql -U root -c 'CREATE DATABASE example;'\npipenv run init;\npipenv run migrate;\npipenv run upgrade;\n```\n\n\u003e Note: Codespaces users can connect to psql by typing: `psql -h localhost -U gitpod example`\n\n## 2) How to Start coding\n\nThere is an example API working with an example database. All your application code should be written inside the `./src/` folder.\n\n- src/main.py (it's where your endpoints should be coded)\n- src/models.py (your database tables and serialization logic)\n- src/utils.py (some reusable classes and functions)\n- src/admin.py (add your models to the admin and manage your data easily)\n\nFor a more detailed explanation, look for the tutorial inside the `docs` folder.\n\n## Remember to migrate every time you change your models\n\nYou have to migrate and upgrade the migrations for every update you make to your models:\n\n```bash\n$ pipenv run migrate # (to make the migrations)\n$ pipenv run upgrade  # (to update your databse with the migrations)\n```\n\n## Check your API live\n\n1. Once you run the `pipenv run start` command your API will start running live and you can open it by clicking in the \"ports\" tab and then clicking \"open browser\".\n\n\u003e ✋ If you are working on a coding cloud like [Codespaces](https://docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace#sharing-a-port) or [Gitpod](https://www.gitpod.io/docs/configure/workspaces/ports#configure-port-visibility) make sure that your forwared port is public.\n\n## Publish/Deploy your website!\n\nThis boilerplate it's 100% read to deploy with Render.com and Herkou in a matter of minutes. Please read the [official documentation about it](https://start.4geeksacademy.com/deploy).\n\n### Contributors\n\nThis template was built as part of the 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) by [Alejandro Sanchez](https://twitter.com/alesanchezr) and many other contributors. Find out more about our [Full Stack Developer Course](https://4geeksacademy.com/us/coding-bootcamps/part-time-full-stack-developer), and [Data Science Bootcamp](https://4geeksacademy.com/us/coding-bootcamps/datascience-machine-learning).\n\nYou can find other templates and resources like this at the [school github page](https://github.com/4geeksacademy/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4geeksacademy%2Flahuella-starwars-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4geeksacademy%2Flahuella-starwars-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4geeksacademy%2Flahuella-starwars-rest-api/lists"}