Skip to content

Latest commit

 

History

History
226 lines (138 loc) · 6.55 KB

README.md

File metadata and controls

226 lines (138 loc) · 6.55 KB

Student Profiler

This project is part of the cc50 certification by Harvard. It is a simple Flask application designed to manage student information. The project includes features such as adding students, deleting students, editing information, and choosing disciplines associated with students.

Technologies Used

  • Back-end: Python with Flask framework
  • Front-End: HTML, CSS, JavaScript
  • Database: SQLite

Technologies Used

  • Back-end: Python with Flask framework
  • Front-End: HTML, CSS, JavaScript
  • Database: SQLite

Installation

  1. Clone the repository:
    git clone https://github.com/seu-usuario/student-profiler.git
    

1 - Install dependencies:

  1. Clone the repository:
    cd student-profiler
    pip install -r requirements.txt
    
    

Usage

  1. Run the Flask application:
     Copy code
     flask run
    
  2. Open your web browser and navigate to http://localhost:5000.

Screenshot homepage

Features

Add Discipline

  1. Fill in the discipline name in the corresponding field.
  2. Click the "Add Discipline" button.
  3. The discipline will be listed in the table.

Screenshot Add Discipline

List Disciplines

  1. Click the "List Disciplines" button.
  2. A modal table will be displayed with the registered disciplines.

Screenshot List Disciplines

Edit Disciplines

  1. Click the "Edit" button next to the discipline in the list.
  2. Modify the discipline name in the modal.
  3. Click the "Save Changes" button.
  4. The discipline will be updated in the table.

Screenshot Edit Discipline

Delete Disciplines

  1. Click the "Delete" button next to the discipline in the list.
  2. Confirm the deletion in the modal.
  3. The discipline will be removed from the table.

Screenshot Delete Discipline

Add Student

  1. Fill in the student's name, age, and select the discipline from the corresponding fields.
  2. Click the "Add Student" button.
  3. The student will be listed in the student table.

Screenshot Add Student

List Students

  1. Students are automatically displayed in the main table.
  2. Each student has buttons to edit or delete. Screenshot List Students

Edit Students

  1. Click the "Edit" button next to the student in the list.
  2. Modify the student's information in the modal.
  3. Click the "Save Changes" button.
  4. The student's information will be updated in the table.

Screenshot Edit Student Screenshot List after edit

Delete Students

  1. Click the "Delete" button next to the student in the list.
  2. Confirm the deletion in the modal.
  3. The student will be removed from the table.

Screenshot Delete Student Screenshot List after delete

Student Profiler

Este projeto faz parte da certificação cc50 da Harvard. É uma aplicação simples em Flask projetada para gerenciar informações de alunos. O projeto inclui recursos como adicionar alunos, excluir alunos, editar informações e escolher disciplinas associadas aos alunos.

Tecnologias Utilizadas

  • Back-end: Python com o framework Flask
  • Front-End: HTML, CSS, JavaScript
  • Banco de Dados: SQLite

Instalação

  1. Clone o repositório:
    git clone https://github.com/seu-usuario/student-profiler.git
    

1 - Instale as dependências:

  1. Navegue até o diretório do projeto:
    cd student-profiler
    pip install -r requirements.txt
    

Uso

  1. Execute a aplicação Flask:
     Copy code
     flask run
    
  2. Abra seu navegador da web e acesse http://localhost:5000.

Captura de tela da página inicial

Recursos

Adicionar Disciplina

  1. Preencha o nome da disciplina no campo correspondente.
  2. Clique no botão "Adicionar Disciplina".
  3. A disciplina será listada na tabela.

Captura de tela Adicionar Disciplina

Listar Disciplinas

  1. Clique no botão "Listar Disciplinas".
  2. Uma tabela modal será exibida com as disciplinas registradas.

Captura de tela Listar Disciplinas

Editar Disciplinas

  1. Clique no botão "Editar" ao lado da disciplina na lista.
  2. Modifique o nome da disciplina no modal.
  3. Clique no botão "Salvar Alterações".
  4. A disciplina será atualizada na tabela.

Captura de tela Editar Disciplina

Excluir Disciplinas

  1. Clique no botão "Excluir" ao lado da disciplina na lista.
  2. Confirme a exclusão no modal.
  3. A disciplina será removida da tabela.

Captura de tela Excluir Disciplina

Adicionar Aluno

  1. Preencha o nome, idade e selecione a disciplina nos campos correspondentes.
  2. Clique no botão "Adicionar Aluno".
  3. O aluno será listado na tabela de alunos.

Captura de tela Adicionar Aluno

Listar Alunos

  1. Os alunos são exibidos automaticamente na tabela principal.
  2. Cada aluno tem botões para editar ou excluir. Captura de tela Listar Alunos

Editar Alunos

  1. Clique no botão "Editar" ao lado do aluno na lista.
  2. Modifique as informações do aluno no modal.
  3. Clique no botão "Salvar Alterações".
  4. As informações do aluno serão atualizadas na tabela.

Captura de tela Editar Aluno Captura de tela Lista após editar

Excluir Alunos

  1. Clique no botão "Excluir" ao lado do aluno na lista.
  2. Confirme a exclusão no modal.
  3. O aluno será removido da tabela.

Captura de tela Excluir Aluno Captura de tela Lista após excluir

Contribuição

Sinta-se à vontade para contribuir. Siga as etapas de instalação e faça um fork do projeto.

Licença

Este projeto está licenciado sob a Licença MIT - consulte o arquivo LICENSE para obter detalhes.