2 Commits

Author SHA1 Message Date
Adrian Zürcher
521896510d change module name to repo 2025-10-08 15:06:08 +02:00
Adrian Zürcher
c9577720e6 add README 2025-10-08 15:03:43 +02:00
6 changed files with 62 additions and 8 deletions

View File

@@ -0,0 +1,50 @@
# 🧩 Member DB (Golang)
A lightweight and efficient **member management system** written in **Go**.
This project provides a RESTful API to perform essential operations like:
✅ **Add and manage members**
📅 **Track member attendance at events**
🗺️ **Record member excursions and outings**
Ideal for small organizations, clubs, or community groups looking for a minimal yet effective backend to handle membership data.
---
## 🚀 Features
- ⚡ Built using **Go** for high performance and simplicity
- 🌐 **RESTful API** endpoints
- 🧱 Modular structure for easy expansion
- 🪶 Lightweight — no unnecessary dependencies
---
## 🎯 Use Cases
- 🏫 Club membership tracking
- 🗓️ Attendance records for events, meetings, or workshops
- 🧭 Excursion or trip logging for community groups
---
## 🛠️ Tech Stack
- **Language:** Go (Golang)
- **Architecture:** RESTful API
- **Storage:** (Add your DB here, e.g., SQLite, PostgreSQL, or in-memory)
- **Deployment:** Runs easily on any Go-supported environment
---
## 📦 Getting Started
### Prerequisites
- Go 1.24.5+ installed
### Installation
```bash
git clone https://gitea.tecamino.com/paadi/memberDB.git
cd memberDB
go mod tidy
go run main.go

View File

@@ -1,10 +1,11 @@
package api
import (
"memberDB/handlers"
"memberDB/models"
"net/http"
"gitea.tecamino.com/paadi/memberDB/handlers"
"gitea.tecamino.com/paadi/memberDB/models"
"github.com/gin-gonic/gin"
)

View File

@@ -4,10 +4,11 @@ import (
"encoding/csv"
"fmt"
"io"
"memberDB/models"
"net/http"
"strconv"
"gitea.tecamino.com/paadi/memberDB/models"
"github.com/gin-gonic/gin"
"github.com/saintfish/chardet"
"golang.org/x/text/encoding/charmap"

2
go.mod
View File

@@ -1,4 +1,4 @@
module memberDB
module gitea.tecamino.com/paadi/memberDB
go 1.24.5

View File

@@ -8,14 +8,15 @@ import (
"encoding/json"
"errors"
"fmt"
"memberDB/crypto"
"memberDB/models"
"memberDB/utils"
"os"
"path/filepath"
"strings"
"time"
"gitea.tecamino.com/paadi/memberDB/crypto"
"gitea.tecamino.com/paadi/memberDB/models"
"gitea.tecamino.com/paadi/memberDB/utils"
_ "modernc.org/sqlite"
)

View File

@@ -3,7 +3,8 @@ package main
import (
"flag"
"log"
"memberDB/api"
"gitea.tecamino.com/paadi/memberDB/api"
)
func main() {