Categorygithub.com/M-fabricio-C/api-students
repositorypackage
0.0.0-20240801211242-1c9b1efd1b68
Repository: https://github.com/m-fabricio-c/api-students.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

api-students

API to 'Golang do Zero' course students

Routes:

  • GET /students - List all students
  • POST /students - Create student
  • GET /students/:id - Get infos from a specific student
  • PUT /students/:id - Udate student
  • DELETE /students/:id - Delete student
  • GET /students?active=<true/false> - List all active/non-active students

Struct Student:

  • Name (string)
  • CPF (int)
  • Email (string)
  • Age (int)
  • Active (bool)