Skip to content

cryptokeepto/digitalHR-api

Repository files navigation

Install

    $ git https://git.sami.int.thomsonreuters.com/Veerayut.Intorn/DigitalHR/tree/master/server
    $ cd digitalHR-api
    $ npm install

CreateDatabase

    $ mongorestore --db <dataname> db/dump/digitalHR
    $ mongod

Routes

    employmentCertifyLetter
        - GET /api/certifyLetter/employmentCertifyLetter/show
        - POST /api/certifyLetter/employmentCertifyLetter/add 
            [
                employeeID: string, 
                typeCertifyLetter: string, 
                firstName: string, 
                lastName: string, 
                note: string, 
                numberOfCopy: number
            ]

    certifyLetterForHousingLoan
        - GET /api/certifyLetter/certifyLetterForHousingLoan/show
        - POST localhost:3000/api/certifyLetter/certifyLetterForHousingLoan/add
            [
                employeeID: string, 
                typeCertifyLetter: string, 
                firstName: string, 
                lastName: string, 
                note: string, 
                numberOfCopy: number, 
                banks: { 
                    "BBL": number, 
                    "GHB": number,
                    "LHBank": number,
                    "UOB": number
                }
            ]
    
    certifyLetterForFurtherEducation
        - GET /api/certifyLetter/certifyLetterForFurtherEducation/show
        - POST /api/certifyLetter/certifyLetterForFurtherEducation/add
            [
                employeeID: string, 
                typeCertifyLetter: string, 
                firstName: string, 
                lastName: string, 
                note: string, 
                numberOfCopy: number
            ]


    GET /api/users/showAll
    GET /api/users/showOne
    POST /api/users/addOne [firstName, lastName, sex, email, image];

Reference

    Word
    - https://github.com/Ziv-Barber/officegen
    Excel
    - https://github.com/natergj/excel4node
    PDF
    - http://pdfkit.org/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published