Skip to content

rinnguyen1614/rin-echo

Repository files navigation

Rin-echo

Directories

Features

  • Dynamic paramaters including sorting, filtering, selecting and pagination in RESTful API

  • Authority management: Authority management based on jwt and casbin.

  • User management: The system administrator assigns user roles and role permissions.

  • Role management: Create the main object of permission control, and then assign different resource permissions and menu permissions to the role.

  • Menu management: User dynamic menu configuration implementation, assigning different menus to different roles.

  • Resource management: Different users can call different API permissions.

  • Setting management: dynamically configure settings (global and current user) for the system.

  • Languages management: dynamically configure languages for the system.

  • Audit log: system normal operation log record and query; system abnormal information log record and query.

  • Login log: The system login log record query contains login exceptions.

  • File: Upload & download files from the system.

Dependent Library

  • Backend: using echo to quickly build basic RESTful API. Echo is high performance, extensible, minimalist Go web framework.

  • DB: PostgreSQL,using gorm to implement data manipulation, added support for MSSQL, MySQL databases.

  • Cache: using Redis to implement the recording of the JWT token of the currently active user and implement the multi-login restriction.

  • API: using Swagger to auto generate APIs docs (based on swaggo)

  • Job Scheduling: gocron

  • Log: using zap record logs

  • WebSocket: websocket

Running locally

> docker-compose up

Screenshots

screenshot_ui

screenshot_ter