You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AdaptJS is a system to easily, reliably, and repeatably deploy your full-stack applications. Adapt specifications look like [React](https://reactjs.org) apps, but instead of rendering browser DOM elements like `<input>`, or `<div>`, Adapt specifications use elements like AWS `<EC2Instance>`, Kubernetes `<Pod>`, or `<MongoDB>` database.
10
+
11
+
If you're already familiar with React, you'll feel right at home with Adapt.
12
+
But if not, don't worry, knowledge of React isn't required to start using Adapt.
13
+
14
+
## Getting Started
15
+
16
+
For a new project, it's easy to get started with Adapt by using a starter template.
17
+
The [Getting Started Guide](https://adaptjs.org/docs/getting_started) will walk through installing Adapt and deploying your first starter app.
18
+
19
+
## Creating and deploying an app
20
+
21
+
This example creates a new full-stack app from a starter template.
22
+
It has a [React](https://reactjs.org) UI, an [Nginx](https://nginx.org) web server, a [Node.js](https://nodejs.org) API server, and a [Postgres](https://postgresql.org) database, then deploys it to [Kubernetes](https://kubernetes.io/):
23
+
24
+
```bash
25
+
# Install adapt
26
+
npm install -g @adpt/cli
27
+
28
+
# Create a new app from a starter template
29
+
adapt new hello-react-node-postgres ./myapp
30
+
cd myapp/deploy
31
+
32
+
# Deploy full stack locally using Docker
33
+
adapt run laptop
34
+
35
+
# Or just as easily deploy everything to Kubernetes
36
+
adapt run k8s-test
37
+
```
38
+
39
+
An Adapt description for a complete front end and back end app stack looks like this:
This demo shows using Adapt to create and deploy a simple app called MovieDB that has a [React](https://reactjs.org) UI, an [Nginx](https://nginx.org) web server, an Nginx URL router, a [Node.js](https://nodejs.org) API server, and a [Postgres](https://postgresql.org) database, then deploys it to [Kubernetes](https://kubernetes.io/):
62
+
63
+

64
+
65
+
## More info
66
+
67
+
*[Adaptjs.org](https://adaptjs.org)
68
+
69
+
Learn more about Adapt.
70
+
71
+
*[Getting Started Guide](https://adaptjs.org/docs/getting_started)
72
+
73
+
This guide will walk you through setting up Adapt and then deploying an example MovieDB app.
0 commit comments