Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Server for univboard - A universal cross-platform clipboard and file sharing app

Notifications You must be signed in to change notification settings

darthsalad/univboard-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Univboard

Uniboard is a cross-platform universal clipboard and file-sharing platform. Share text, URLs, files and more across all your devices with ease.

Built with

TODO

General

  • Planetscale schema for fields:
    • created_at
    • modified_at
  • NewUser method integrate instead of decoding directly to struct
  • Errors thrown in api route functions should be thrown through JSON responses and shouldn't the server
  • Remove unnecessary log.Fatal calls causing server to crash - only log.Default calls and Fatal calls in necessary places
  • custom log file location of source file instead of logger.go
  • Protected Routes middleware wrapper

API

  • Auth

    • Register
    • Login
    • Profile
      • GET - Get profile
      • PUT - Update profile (Later) [Profile Picture, Name, Email]
    • Logout
    • Delete
    • Change password (Later)
    • Forgot password (Later)
  • Device

    • GET - Get all devices
    • POST - Add new device
      • Device details like:
        • OS
        • Version
        • Device Name
        • Device ID
    • DELETE - Delete device
      • Notes: New Device should be added on Login
  • Pushes (WebSocket server)

    • Send a message
    • Specify TYPE
      • Text/URL
      • File/Blob
    • Specify Device
      • Default - Send to all devices(pool)
    • Send to all devices
    • Send to specific device
    • Notification
    • DB operations

About

Server for univboard - A universal cross-platform clipboard and file sharing app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages