Categorygithub.com/kartik1112/Memories-backend
repositorypackage
0.0.0-20250125174556-8d8c0f0b4acf
Repository: https://github.com/kartik1112/memories-backend.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Memories Backend

Memories is a collaborative event photo-sharing platform where users can upload photos, tag themselves using facial recognition, and relive shared memories. This repository contains the backend API built with Go using the Gin framework, GORM for ORM, and MySQL as the database.


Memories Frontend

Link to frontend repo (Flutter) - https://github.com/kartik1112/Memories-flutter

Features

  • User Authentication: Secure login/signup with JWT-based authentication.
  • Event Management: Create and join events using a 6-digit unique event code.
  • Photo Management: Upload photos linked to specific events.
  • Facial Recognition: Automatically tags users in photos.
  • Scalable Architecture: Built with best practices for modular and maintainable code.

Tech Stack

  • Language: Go (Golang)
  • Framework: Gin
  • Database: MySQL (with GORM ORM)
  • Authentication: JWT
  • Cloud Storage: For photos (e.g., AWS S3, Firebase Storage - TBD)
  • Facial Recognition: TBD (e.g., AWS Rekognition, Google Vision API, or a pre-trained model like Dlib/FaceNet)

API Endpoints

Public Endpoints

MethodEndpointDescription
POST/signupCreate a new user account.
POST/loginAuthenticate and get a JWT.

Protected Endpoints

MethodEndpointDescription
POST/event/createCreate a new event.
POST/events/joinJoin an event using a 6-digit code.
GET/events/fetchFetch all events for the logged-in user.
POST/photos/uploadUpload a photo to an event (WIP).

Contributing

Contributions are welcome! Please fork the repository and create a pull request.


License

This project is licensed under the MIT License.