{"id":19798056,"url":"https://github.com/carlosvinimsouza/flasksqlchallenger","last_synced_at":"2026-04-14T04:31:37.844Z","repository":{"id":108567298,"uuid":"480999816","full_name":"CarlosViniMSouza/FlaskSQLChallenger","owner":"CarlosViniMSouza","description":"A application with Flask, SQL and PokeAPI","archived":false,"fork":false,"pushed_at":"2022-04-14T20:12:22.000Z","size":526,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T08:42:05.071Z","etag":null,"topics":["flask","mongodb","pandas","pokeapi","rest-api","sql"],"latest_commit_sha":null,"homepage":"https://flaskpokedexchallenger.herokuapp.com/","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/CarlosViniMSouza.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":"2022-04-12T23:04:57.000Z","updated_at":"2022-04-14T16:32:23.000Z","dependencies_parsed_at":"2023-04-28T11:46:53.928Z","dependency_job_id":null,"html_url":"https://github.com/CarlosViniMSouza/FlaskSQLChallenger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CarlosViniMSouza/FlaskSQLChallenger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosViniMSouza%2FFlaskSQLChallenger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosViniMSouza%2FFlaskSQLChallenger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosViniMSouza%2FFlaskSQLChallenger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosViniMSouza%2FFlaskSQLChallenger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarlosViniMSouza","download_url":"https://codeload.github.com/CarlosViniMSouza/FlaskSQLChallenger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosViniMSouza%2FFlaskSQLChallenger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flask","mongodb","pandas","pokeapi","rest-api","sql"],"created_at":"2024-11-12T07:27:56.434Z","updated_at":"2026-04-14T04:31:37.829Z","avatar_url":"https://github.com/CarlosViniMSouza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Challenger Code with Python, Flask and SQL (with MongoDB)\n\n*application build by Documentation Flask*\n\n## How to execute (using Git Bash):\n\n1 - install the project in your machine way: `$ git clone https://github.com/CarlosViniMSouza/FlaskSQLChallenger.git`\n\n2 - create a python virtual enviroment: `$ python -m virtualenv venv`\n\n3 - access the `venv` folder on terminal: `$ source venv/Scripts/activate`\n\n4 - boot the db: `$ flask init-db`\n\n5 - execute the project: `$ flask run`\n\n6 - access the localhost: `http://127.0.0.1:5000`\n\n## Theoretical Test:\n\n1. **How does one combine two Pandas dataframes?**\n\n*ans.:* Using the method 'merge()'\n\n2. **What is the difference between a local variable and a global variable?**\n\n*ans.:* A 'global variable' can be used anywhere in the program; a 'local variable' can only be used in a specific part of the program. Also, global variable is not a good choice for performing operations (because it affects software processing and security)\n\n3. **How does one create a copy of a dataframe using Pandas?**\n\n*ans.:* Using the method 'copy()'\n\n4. **How does one handle concurrent requests in Flask?**\n\n*ans.:* With 'threaded=True' each request is treated as a new thread. The number of threads your server can process simultaneously depends largely on the operating system and the limits it sets on the number of threads in processes.\n\n5. **What is a Replica Set in MongoDB?**\n\n*ans.:* Union of several processes that maintain the database on several servers\n\n6. **What is a Transaction in a database context?**\n\n*ans.:* Set of operations that make up a task or logical unit of work to be performed (example: Creation, Deletion, etc).\n\n```shell\n$ pip list\nPackage          Version\n---------------- -------\nPyYAML             6.0\nrequests           2.27.1\nsetuptools         60.9.3\nsix                1.16.0\nSQLAlchemy         1.4.35\ntomli              2.0.1\nurllib3            1.26.9\nwaitress           2.1.1\nWerkzeug           2.1.1\nwheel              0.37.1\n```\n\n### Images Application\n\n![img-register](/Docs/img-register_pg.jpg)\n\n![img-login](/Docs/img-login.jpg)\n\n![img-pokedex](/Docs/img-pokedex.jpg)\n\n### Image from MongoDB connected to application \n\n![img-Mongo](/Docs/img-MongoDB-connected.jpg)\n\n```\nPROBLEMS (FAILS):\n\nIt was not possible to make the delimitations of email and password. The login flask libs were causing difficulties in meeting these requirements.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosvinimsouza%2Fflasksqlchallenger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosvinimsouza%2Fflasksqlchallenger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosvinimsouza%2Fflasksqlchallenger/lists"}