Skip to content

moosavismd/uid-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app

A simple web application which returns a random uid each time it recieves a get request on /uid endpoint.

endpoints

  • /uid: Whenever you send a get request to this endpoint it returns a random uid and store it in a mysql database.
  • /health: An endpoint to check the health of application.

Vars

Set these variables for the application:

Port: # The port that the application listens on

config

This application loads a config from /config/config.json and reads the database information:

    {
        "database": {
            "host": "database host",
            "port": "database port",
            "user": "database user",
            "password": "database user",
            "dbname": "db name"
        }
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published