{"id":20006793,"url":"https://github.com/matheusafonseca/s202-grade-manager","last_synced_at":"2026-04-12T00:37:49.902Z","repository":{"id":262348784,"uuid":"886950138","full_name":"matheusAFONSECA/S202-grade-manager","owner":"matheusAFONSECA","description":"Repository dedicated to storing the S202 - Database II project where a grading system is made using a non-relational database.","archived":false,"fork":false,"pushed_at":"2024-11-29T17:36:53.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T20:32:44.158Z","etag":null,"topics":["black","database","docker","docker-compose","flake8","isort","neo4j","nosql-database","python","python3","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matheusAFONSECA.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-11T22:46:15.000Z","updated_at":"2024-11-26T01:09:01.000Z","dependencies_parsed_at":"2024-11-12T00:31:59.534Z","dependency_job_id":"9576f1e1-f385-4ec2-9c33-32c4e805d647","html_url":"https://github.com/matheusAFONSECA/S202-grade-manager","commit_stats":null,"previous_names":["matheusafonseca/s202-grade-manager"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/matheusAFONSECA/S202-grade-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FS202-grade-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FS202-grade-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FS202-grade-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FS202-grade-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matheusAFONSECA","download_url":"https://codeload.github.com/matheusAFONSECA/S202-grade-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FS202-grade-manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259522451,"owners_count":22870469,"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":["black","database","docker","docker-compose","flake8","isort","neo4j","nosql-database","python","python3","streamlit"],"created_at":"2024-11-13T06:13:34.505Z","updated_at":"2026-04-12T00:37:49.866Z","avatar_url":"https://github.com/matheusAFONSECA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S202-grade-manager\nRepository dedicated to storing the S202 - Database II project where a grading system is made using a non-relational database.\n\n## Index\n\n### [1. Class Diagram](#class-diagram)\n- [Class Relationships](#class-diagram)  \n\n### [2. Usage](#usage)\n- [Install the requirements](#install-the-requirements)\n- [Create a env file](#create-a-env-file)\n- [Run the project](#run-the-project)  \n\n### [3. Code Quality](#code-quality)\n- [Linter](#linter)  \n- [Formatter](#formatter)  \n- [Sorting Imports](#sorting-imports)  \n\n### [4. Contributors](#contributors)\n- [Matheus Fonseca](#matheus-fonseca)  \n- [Pedro Luis Dionísio Fraga](#pedro-luis-dionísio-fraga)  \n\n\n## Class Diagram\n```mermaid\nclassDiagram\n  class Student {\n    +int registration_number\n    +string course\n    +string name\n  }\n\n  class Teacher {\n    +int teacher_id\n    +string name\n  }\n\n  class Subject {\n    +string subject_id\n    +string name\n    +int teacher_id\n  }\n\n  class Grade {\n    +int grade_id\n    +float obtained_grade\n    +string subject_id\n    +int teacher_id\n  }\n\n  Student \"1\" --\u003e \"0..*\" Grade: Receives\n  Teacher \"1\" --\u003e \"0..*\" Subject: Teaches\n  Student \"1..*\" --\u003e \"1\" Teacher: Is_taught_by\n  Student \"1..*\" --\u003e \"1..*\" Subject: Studies\n```\n\n## Usage\n\n### Install the requirements\n\nInstall the requirements:\n\n```bash\npip install -r requirements.txt\n```\n\n\u003e (OPTIONAL) If you will develop, install the CI requirements:\n\u003e ```bash\n\u003e pip install -r ci_requirements.txt\n\u003e ```\n\n### Create a `.env` file\n\nCreate a `.env` file running the following script:\n\n  - UNIX/Mac\n    ```bash\n    ./scripts/create_env.sh\n    ```\n  - Windows\n    ```bash\n    ./scripts/create_env.bat\n    ```\n  \n\u003e Remember: Edit the `.env` file with your neo4j sandbox credentials, provided when you create an account or new project.\n\n### Run the project\n\n- Running via terminal:\n  ```bash\n  streamlit run .\\src\\main.py\n  ```\n\n- Running using docker: \n  ```bash \n  docker compose build\n  docker compose up\n  ```\n\nIn the Neo4j Sandbox you can see the data and relationships created by the program:\n\n`Example of relations of the database: `\n\n![app_example](docs/app_example.png)\n\n## Code Quality\n\n### Linter\n\nA linter that checks for syntax errors, potential bugs, and style violations.\\\nThe project uses [flake8](https://flake8.pycqa.org/en/latest/) as linter. To run the linter all code, execute the following command:\n\n```bash\nflake8 .\n```\n\nIf the linter find a problem, it will show a message with the error.\n\n```bash\n./src/example.py:13:3: E303 too many blank lines (2)\n./src/example.py:20:1: W391 blank line at end of file\n```\n\nFixing the error manually and when finish, flake8 will not show any message.\n\n### Formatter\n\nThe project uses [black](https://black.readthedocs.io/en/stable/) as formatter. To run the formatter in all code, execute the following command:\n\n```bash\nblack .\n```\n\n### Sorting Imports\n\nThe project uses [isort](https://pycqa.github.io/isort/) as sorting imports. To run the sorting imports in all code, execute the following command:\n\n```bash\nisort .\n```\n\n## Contributors\n\n### [Matheus Fonseca](https://github.com/matheusAFONSECA)\n\nUndergraduate student in the eighth (8th) semester of Computer Engineering at the National Institute of Telecommunications (Inatel). I participated in a Scientific Initiation at the Cybersecurity and Internet of Things Laboratory (CS\u0026ILAB), where, in the Park Here project, I developed skills in computer vision applied to parking systems, focusing on license plate recognition and vehicle identification. Additionally, I served as a teaching assistant for Physics 1, 2, and 3, helping with practical classes, report writing, and answering theoretical questions. Currently, I am an intern at the Inatel Competence Center (ICC) in the PDI SW department.\n\n### [Pedro Luis Dionísio Fraga](https://github.com/PedroLuisDionisioFraga)\n\nI am a Computer Engineering student at Inatel, graduating in 2025, with expertise in Embedded Linux, firmware development, and C/C++ programming, complemented by Python skills. Since October 2023, I have been a firmware developer at Nouvenn IoT, creating and implementing innovative IoT solutions. Additionally, I have been a laboratory monitor at Inatel since August 2022, providing technical and educational support to students. I am passionate about embracing challenges and contributing to impactful technology projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusafonseca%2Fs202-grade-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatheusafonseca%2Fs202-grade-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusafonseca%2Fs202-grade-manager/lists"}