Skip to content

MonkyMars/GreenVue-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreenVue API

Backend API for GreenVue.eu - an EU-focused sustainable marketplace for selling pre-owned items.

Go Version Fiber License

🌱 Overview

GreenVue is a sustainable marketplace platform focused on the EU market, designed to facilitate the buying and selling of pre-owned items. This repository contains the backend API that powers both the mobile app and web platform.

Our mission is to promote sustainability by extending the lifecycle of products and reducing waste through a user-friendly marketplace that encourages reuse over disposal.

🛠️ Tech Stack

  • Language: Go 1.24
  • Web Framework: Fiber v2
  • Database: Supabase
  • Image Storage: Supabase Storage Buckets
  • Authentication: JWT (JSON Web Tokens)
  • API Documentation: (TBD)
  • Containerization: Docker
  • Hosting: Railway

✨ Features

  • Authentication

    • Registration and login
    • JWT-based authentication
    • Refresh token support
  • Listings Management

    • Create, retrieve and delete listings
    • Category-based listing organization
    • Image upload support (WebP conversion)
    • Seller-specific listings
  • User Profiles

    • User information management
    • Seller profiles
  • Chat System

    • Real-time messaging via WebSockets
    • Conversation management
    • Message history
  • Reviews & Ratings

    • Post and retrieve product reviews
  • Favorites

    • Save and manage favorite listings
  • Security

    • Rate limiting
    • CORS protection
    • Input validation
    • Structured error handling

🔒 Security

GreenVue takes security seriously. Our security practices include:

  • Environment variable management for credentials
  • Secure JWT implementation
  • Rate limiting to prevent abuse
  • Input validation and sanitization
  • Regular dependency updates

For vulnerability reporting, please see our security policy.

🗺️ Roadmap

Future development plans:

  • User profile management improvements
  • Password reset functionality
  • Improving Email verification system
  • Search API with filtering capabilities
  • Pagination for listing results
  • Order management system
  • Purchase history endpoints
  • Enhanced review system

🔗 Related Projects

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

The backend for the GreenVue platform.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •