Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/Pruel/real-time-forum

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Pruel/real-time-forum

  • v0.0.0-20241003195745-e81e96febe5d
  • Source
  • Go
  • Socket score

Version published
Created
Source

Real Time

  • Фронтенд
  • Бэкенд
  • Чат

Forum Service

1. Environment
    - configurations
    - linter
    - logger
    - autobuilding
    - CI (continue integration)
2. Base logic
    - Main logic
    - App logic
3. Layers
    - Transport (http server, router, handlers)
    - service (bisnes logic, main logic of the service - forum)
    - domen, core ( objeects, stuctures)
    - repository (main repository - conn and disconnection to the sqlite, CRUD AND OTHER DATA MANIPULATIONS)
4. Features
    a. auth, User (Admin, Moderator, client)
        - identification (registration -> Nickname, Age, Gender, Name, Surname, Email, Password ) Sign up
            - validation, filtration
        - authontification - Sign in ( The user must be able to connect using either a nickname or e-mail combined with a password )
        - authorization (administration)
        - logout - Sign out ( The user should be able to log out from any page of the forum )
    b. Post ( date and time )
        - Create 
        - Update
        - Read
        - Delete
    c. Comment, (CRUD - basic operations, specefic operations )
        - must be parent post
        - create
        - update
        - read
        - delete
    d. Additional packages (logics)
        - sentinel errors
        - filtration
        - validation
        - encryting and decrypting
        - UUID

        MVC
            - Model ( Object, Struct - go, model)
            - View ( template, css, other )
            - Controller ()

    

Chat Service

 Personal messages 

 a. Section to show who is online/offline and able to talk to

    - Organized by last message sent or alphabetically
    - Send private messages to online users
    - Section must be visible at all times

b. Chat Section

    - Reload past messages when clicking on user
    - Show previous messages
    - Load last 10 messages, load more on scroll up without spamming

c. Message Format

    - Date of the message sent
    - Username of the sender 
    

d. Real-time functionality

    - Notify of new message without refreshing the page
    - Use WebSockets in backend and frontend 

SPA (Front-end)

FAQs

Package last updated on 03 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc