Skip to content

Drip-Rewards-Inc/mezo-drip-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 

Repository files navigation

Hackathon hosted by Mezo and Drip and in collaboration with Acre πŸš€

Welcome to Hackathon hosted by Mezo and Drip and in collaboration with Acre! This repository serves as your central hub for all hackathon resources, demo implementations, and guidelines.

Demo Implementations πŸ› οΈ

A Discord bot demonstrating:

  • Point balance checking
  • User-to-user transfers

REPO: https://github.com/Cryptonite-Group-Inc/mezo-drip-hackathon-bot-demo

A Next.js web application showcasing:

  • Real-time point tracking
  • User search functionality
  • Leaderboard visualization

REPO: https://github.com/Cryptonite-Group-Inc/mezo-drip-hackathon-web-demo

Technical Documentation πŸ“š

DRIP API Resources

Key API Features

Points Management

// Get user points
GET /api/v4/realms/{realmId}/members/{userId}

// Transfer points
PATCH /api/v4/realms/{realmId}/members/{userId}/transfer

NFT Integration

// Check NFT ownership
GET /api/v4/realms/{realmId}/web3/members/{userId}

Leaderboard

// Get realm leaderboard
GET /api/v4/realms/{realmId}/leaderboard

Development Guidelines πŸ’»

Repository Structure

your-project/
β”œβ”€β”€ README.md           # Project documentation
β”œβ”€β”€ .gitignore        # Git ignore file
β”œβ”€β”€ .env.example      # Example environment variables
└── src/              # Source code

Essential Configuration Files

.gitignore

.env
.env.local
node_modules/
.DS_Store

.env.example

DRIP_API_KEY=your_api_key_here
DRIP_REALM_ID=your_realm_id_here

Deployment Best Practices

  1. Environment Variables

    • Never commit API keys
    • Use environment variables for configuration
    • Document all required variables
  2. Documentation Requirements

    • Installation instructions
    • API integration examples
    • Configuration guide
    • Troubleshooting section
  3. Code Quality Standards

    • TypeScript types inclusion
    • Consistent code style

GitHub Repository Setup

git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/username/repo-name.git
git push -u origin main

Technical Support Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published