Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
521896510d | ||
|
|
c9577720e6 |
50
README.MD
50
README.MD
@@ -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
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"memberDB/handlers"
|
|
||||||
"memberDB/models"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
"gitea.tecamino.com/paadi/memberDB/handlers"
|
||||||
|
"gitea.tecamino.com/paadi/memberDB/models"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,11 @@ import (
|
|||||||
"encoding/csv"
|
"encoding/csv"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"memberDB/models"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
"gitea.tecamino.com/paadi/memberDB/models"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/saintfish/chardet"
|
"github.com/saintfish/chardet"
|
||||||
"golang.org/x/text/encoding/charmap"
|
"golang.org/x/text/encoding/charmap"
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module memberDB
|
module gitea.tecamino.com/paadi/memberDB
|
||||||
|
|
||||||
go 1.24.5
|
go 1.24.5
|
||||||
|
|
||||||
|
|||||||
@@ -8,14 +8,15 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"memberDB/crypto"
|
|
||||||
"memberDB/models"
|
|
||||||
"memberDB/utils"
|
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gitea.tecamino.com/paadi/memberDB/crypto"
|
||||||
|
"gitea.tecamino.com/paadi/memberDB/models"
|
||||||
|
"gitea.tecamino.com/paadi/memberDB/utils"
|
||||||
|
|
||||||
_ "modernc.org/sqlite"
|
_ "modernc.org/sqlite"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user