Skip to content

Commit

Permalink
⬇️ Move tutorial under docs/mongodb-rest
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Nov 24, 2023
1 parent 6179bf9 commit 21cd2e2
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 10 deletions.
15 changes: 8 additions & 7 deletions _includes/docs-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2>Overview</h2>
<li><a href="/docs">Overview</a></li>
<li><a href="/docs/try">Try RESTHeart online</a></li>
<li><a href="/docs/ng-demo">A simple Angular demo</a></li>
<li><a href="/docs/tutorial">Data API Tutorial</a></li>
<li><a href="/docs/mongodb-rest/tutorial">Data API Tutorial</a></li>
<li><a href="/docs/performances">Performances</a></li>
<li><a href="/docs/tutorials">Blog posts</a></li>
<li><a href="/docs/video-tutorials">Video Tutorials</a></li>
Expand Down Expand Up @@ -68,20 +68,21 @@ <h2 class="mt-2">MongoDB</h2>
</a>
<ul id="mongodb" class="collapse">
<h3 id="rest-api" class="mt-2">REST API</h2>
<li><a href="/docs/mongodb-rest/resource-uri">Resource URIs</a></li>
<li><a href="/docs/mongodb-rest/representation-format">Representation Format</a></li>
<li><a href="/docs/mongodb-rest/sample-data">Load Sample Data into MongoDB</a></li>
<li><a href="/docs/mongodb-rest/read-docs">Read JSON Documents</a></li>
<li><a href="/docs/mongodb-rest/write-docs">Write JSON Documents</a></li>
<li><a href="/docs/mongodb-rest/caching">Caching</a></li>
<li><a href="/docs/mongodb-rest/tutorial">Tutorial</a></li>
<li><a href="/docs/mongodb-rest/read-docs">Read Documents</a></li>
<li><a href="/docs/mongodb-rest/write-docs">Write Documents</a></li>
<li><a href="/docs/mongodb-rest/files">Binary Files with GridFS</a></li>
<li><a href="/docs/mongodb-rest/aggregations">Aggregations</a></li>
<li><a href="/docs/mongodb-rest/caching">Caching</a></li>
<li><a href="/docs/mongodb-rest/dbs-collections">Manage Dbs and Collections</a></li>
<li><a href="/docs/mongodb-rest/indexes">Indexes</a></li>
<li><a href="/docs/mongodb-rest/relationships">Relationships</a></li>
<li><a href="/docs/mongodb-rest/csv">Upload CSV files</a></li>
<li><a href="/docs/mongodb-rest/json-schema-validation">JSON Schema Validation</a></li>
<li><a href="/docs/mongodb-rest/transactions">Transactions</a></li>
<li><a href="/docs/mongodb-rest/resource-uri">Resource URIs</a></li>
<li><a href="/docs/mongodb-rest/representation-format">Representation Format</a></li>
<li><a href="/docs/mongodb-rest/sample-data">Load Sample Data into MongoDB</a></li>
<li><a href="/docs/mongodb-rest/etag">ETag</a></li>
<li><a href="/docs/mongodb-rest/shard-keys">Shard Keys</a></li>
<li><a href="/docs/mongodb-rest/monitoring">Monitoring</a></li>
Expand Down
2 changes: 1 addition & 1 deletion _includes/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</p>
</div>
<div class="d-flex w-100 justify-content-center">
<a class="btn btn-sm" href="{{ '/use-cases/rest-api' | prepend: site.baseurl }}">Read More</a>
<a class="btn btn-sm" href="{{ '/docs/mongodb-rest/tutorial' | prepend: site.baseurl }}">Read More</a>
</div>
</div>
</article>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,8 @@ body {

#features-content p {
font-size: 1rem;
}

.mw-keypoint {
max-width: 400px;
}
2 changes: 1 addition & 1 deletion docs/mongodb-rest/read-docs.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Read JSON Documents
title: Read Documents
layout: docs-adoc
menu: mongodb
---
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/mongodb-rest/write-docs.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Write Requests
title: Write Documents
layout: docs-adoc
menu: mongodb
---
Expand Down
17 changes: 17 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ stars-bounce: true
</div>
</section>

<section id="features-content" class="pb-2 mt-5">
<div class="containe-fluid">
<h2 class="text-center color-primary font-weight-bold mb-5">Key points about RESTHeart</h2>
<div class="d-flex flex-wrap justify-content-around gap-3 text-center">
<div class="zoom card newsText mw-keypoint black-background align-self-center text-primary font-weight-bold">RESTHeart is a framework for building HTTP microservices that aims to empower developers with intuitive APIs out of the box.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">It is built for developers, with a focus on simplicity, speed and ease of use. The programming model uses simple building blocks like Services, Providers, Interceptors and Initializers.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">It has a modular architecture where core functionality is provided by restheart-core, and additional features are implemented as plugins.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">It provides features commonly needed by applications like authentication/authorization and data management through MongoDB integration.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">The MongoDB plugin exposes the full database capabilities through REST, GraphQL and websockets with no backend code required. This cuts development time significantly.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">Performance is a priority with support for huge throughput, horizontal scaling, and GraalVM for better performance in containers.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">It is designed for microservices deployment in Docker/Kubernetes and can run as a standalone JAR, native binary or Docker image.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">It supports Java, Kotlin, JavaScript and TypeScript. Hello World examples are very simple to implement in any of these languages.</div>
<div class="zoom card newsText mw-keypoint align-self-center text-primary font-weight-bold">It has an AGPL open source license as well as a commercial enterprise license for production use cases.</div>
</div>
</div>
</section>

<div class="container text-center mt-0 mw-800 px-0">
<img src="/images/restheart.gif" class="img-fluid"/>
</div>
Expand Down

0 comments on commit 21cd2e2

Please sign in to comment.