Skip to content

clout-stack/clout-services-head

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clout-services-head

Requirement

  • NGinx

Installation

Clone the repository

git clone [email protected]:clout-stack/clout-services-head.git
cd clout-services-head

Install dependencies

npm install

Starting the service

node .

Endpoints

  • /list (list services)
  • /publish (publish service)
  • /unpublish (unpublish service)

Service Model

{
	id: 'service id',
	user_id: 'user id',
	name: 'service name',
	archive: 'archive path',
	hosts: 'array of hosts',
	status: ['active', 'in-active', 'error'],
	server_id: 'server service is running on'
}

Server Model

{
	id: 'server id',
	name: 'server name'
	host: 'server hostname or ip',
	port: 'server port',
	lastSeen: 'date of last seen'
}

About

Headnode service for clout stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published