Skip to content

hiteshnayak305/go-rest-project

Repository files navigation

Go REST Project (go-rest-project)

Sample Go web application to showcase REST API development.

Features & Technologies

  • Gin Web Framework
  • JWT Authentication
  • Sqlite Database

Architecture

Data Model

data-model

Web Service

Refer to postman docs/go-rest-project.postman_collection.json for API endpoints.

API Schema

Method Resource Security Description
GET /events Public Get all events
GET /events/{id} Public Get event by ID
POST /events Authenticated Create a new event
PUT /events/{id} Authenticated & Owner Update an event
DELETE /events/{id} Authenticated & Owner Delete an event
POST /events/{id}/register Authenticated Register user for an event
DELETE /events/{id}/register Authenticated Unregister user from an event
POST /signup Public Sign up a new user
POST /login Public Authenticate a user

License

This project is licensed under the MIT License.

About

Sample Go web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages