Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik kuehne committed Nov 18, 2021
0 parents commit 62e6652
Show file tree
Hide file tree
Showing 32 changed files with 4,206 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .existdb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"servers": {
"localhost": {
"server": "http://localhost:8080/exist",
"user": "admin",
"password": "",
"root": "/db/apps/tuttle"
}
},
"sync": {
"server": "localhost",
"ignore": [
".existdb.json",
".git/**",
"node_modules/**",
"bower_components/**",
"package*.json",
".vscode/**"
]
},
"package": {
"author": "Dom&Jörn",
"target": "tuttle",
"description": "tuttle - github integration.",
"namespace": "http://exist-db.org/apps/tuttle",
"website": "http://exist-db.org/apps/tuttle",
"status": "dev",
"title": "tuttle - github integration",
"license": "GPLv3"
}
}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.idea/
package-lock.json
/build
node_modules
.vscode
.DS_Store
*.xar
Binary file added doc/Tuttle-OpenAPI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions src/api.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<html>
<head>
<meta charset="utf-8"/>
<title>Tuttle - Git-integration for eXist-db</title>
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@3/swagger-ui.css"/>
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js" charset="UTF-8"></script>
</head>
<body>
<div id="custom"></div>
<div id="swagger"></div>
<script>
document.addEventListener("DOMContentLoaded", function () {
SwaggerUIBundle({
url: 'api.json',
dom_id: '#swagger',
displayOperationId: true,
displayRequestDuration: true,
showExtensions: true,
withCredentials: true
});
})
</script>
</body>
</html>

Loading

0 comments on commit 62e6652

Please sign in to comment.