go-school-api

command module
v0.0.0-...-470ba8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

README

Go School Management API

This is a REST API for a school management system built using Go, Gin framework, and JWT for authentication. The API allows for user management, course management, and student-course selections with appropriate access controls based on user roles.

The API connects to MySQL database, the SQL code to create the tables can be accessed at db.sql file. No ORM is used, all queries are raw SQL queries.

Features

  • User Management: Create and manage users (students, lecturers, admins).
  • Course Management: Manage courses available in the school.
  • Student-Course Selection: Students can select courses.
  • Authentication: JWT-based authentication.
  • Role-Based Access Control: Different access levels for students, lecturers, and admins.

Documentation

  • Swagger: The swagger documentation can be initialized git swag init command. Go the the /swagger/index.html.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL