-
Notifications
You must be signed in to change notification settings - Fork 4
File Structure
This repository has the code for the Manticore web application. The server logic is in the api
folder. The webpage
folder contains HTML and Javascript for testing the server's API. The build
folder contains a NodeJS file that, when executed, generates a job file for the Manticore web server and signals to Nomad to run the docker container that contains the server.
The entry point to the application is index.js
inside a folder in the api
directory. Inside the app
folder is where the details of the logic are located. The consul-template
folder contains the HAProxy template file that is used to generate valid HAProxy config files by the Manticore web server. The interfaces
folder contains vital logic to ensure Manticore runs correctly, such as creating and running job files, dealing with websocket connections, and querying a key value store. The listeners
folder contains tiny modules which extend the functionality of Manticore. It is here where new additions to the project will likely take place.