Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

shun/react-go-dailyreport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this ?

This repository is sinmple Daily report system.


Architecture

  • frontend: react
  • backend: golang(Echo)
  • DB: Mariadb

Function

Common

  • Authentification

For User

  • Registory daily report
  • Re-edit daily report

For Administrator

  • List up daily report
  • Browse daily report
  • Search daily report
    • Search by Usercode
    • Search by Username
    • Search by from created date
    • Search by to created date
  • Add comment

API

# method name description
1 POST createReport register the report data
2 GET readReport read the report data

Class Diagram

@startuml

namespace Dailyreport-sys {
    namespace entity {
        Dailyreport "1"*-right-"*" Task
        Task "1"--"1" Category
        User "1" *-right- "*" Dailyreport

        class Category {
            Id: int
            Level1: int
            Level2: int
            Level3: int
            Name: string
        }

        class Dailyreport
        {
            Id: int
            Usercode : string
            Comment : string
            Tasks : []Task
            Created_at : Time
            Updated_at : Time
        }

        class Task
        {
            Id: int
            ReportId : int
            CategoryId : int
            Task : string
            Estimate : float32
        }

        class User {
            Id: int
            Code : string
            Name : string
            Password : string
            Dept: string
            Mail : string
            Created_at : Time
            Updated_at : Time

        }

    }

}

@enduml
<style> h1 { background-color: #ff000; } </style>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published