An open API service indexing awesome lists of open source software.

https://github.com/kryptonbd/go-eventflow

Event Management REST API built with Go
https://github.com/kryptonbd/go-eventflow

gin go golang rest-api

Last synced: 4 months ago
JSON representation

Event Management REST API built with Go

Awesome Lists containing this project

README

          

# EventFlow

EventFlow is a robust event management API built with Go and the Gin web framework. This application enables user authentication, comprehensive event management with CRUD operations, and attendee registration functionality.

## Getting Started

### Installation

1. Clone the repository

2. Install dependencies

```bash
go mod download
```

3. Run the application

```bash
go run main.go
```

The API will be available at `http://localhost:8080`

## API Endpoints

- **Authentication**

- POST `/api/register` - Create new user
- POST `/api/login` - Authenticate user

- **Events**

- GET `/api/events` - List all events
- GET `/api/events/:id` - Get event details
- POST `/api/events` - Create new event
- PUT `/api/events/:id` - Update event
- DELETE `/api/events/:id` - Delete event

- **Registration**
- POST `/api/events/:id/register` - Register for event
- DELETE `/api/events/:id/register` - Cancel registration