Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1016 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 1016 Bytes

Hours Backend

The Go backend for Hours — a real-time office hour management system used at Brown University.

File structure

├── internal
│   ├── api   // TODO
│   └── auth
│   │   └── middleware.go   // middlewares and helpers for checking user authentication from request.
│   │   └── permissions.go    // middlewares for checking user permissions.
│   └── config    // application configuration
│   └── firebase    // defines global varibles with the initialized Firebase app and context.
│   └── models    // type definitions 
│   └── qerrors   // definitions for errors that can be sent back to the client.
│   └── repository    // encapsulates logic for accessing entities from Firestore.
│   └── router    // route definitions and handlers.
│   └── server    // the HTTP server.