A lightweight REST API built with Golang to manage student attendance and behavior data. Originally a CLI tool, now upgraded to a web microservice.
- RESTful Architecture: Serves data over HTTP.
- JSON Response: Standard data format for web integration.
- In-Memory Database: Fast data retrieval using Go Maps.
- Concurrency Ready: Built on Go's robust
net/httppackage.
- Language: Go (Golang)
- Standard Libs:
net/http,encoding/json
-
Clone the repository
git clone [https://github.com/ghosthouse7/class-monitor-cli.git](https://github.com/ghosthouse7/class-monitor-cli.git) cd class-monitor-cli -
Start the Server
go run main.go
You will see:
Server starting on localhost:8080... -
Test the API Open your browser or Postman and visit:
http://localhost:8080/students
| Method | Endpoint | Description |
|---|---|---|
GET |
/students |
Fetch all students JSON |
Built with ❤️ by ghost_hunter