README ¶ Golang Authorization API This project provides a RESTful API for managing authorization in a Golang application. Features Authentication using JWT tokens CRUD operations for copyright data Integration with Cloudflare for protection Installation Clone the repository: git clone https://github.com/farismnrr/golang-authorization-api.git Navigate to the project directory: cd golang-authorization-api Install dependencies: go mod tidy Create a .env file and Authorization.json file. Run the application: go run main.go Usage Endpoints GET /: Returns server information. GET /api/{apiVersion}/get-key: Retrieves the private key for authorization using middleware. GET /api/{apiVersion}/copyrights: Retrieves copyright. POST /api/{apiVersion}/copyrights: Adds new copyright. PUT /api/{apiVersion}/copyrights: Updates existing copyright. DELETE /api/{apiVersion}/copyrights: Removes copyright. License This project is licensed under the MIT License - see the LICENSE file for details. Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis controller helper middleware model routes Click to show internal directories. Click to hide internal directories.