GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - unboundedsystems/adapt: ReactJS for your infrastructure. Create and deploy full-stack apps to any infrastructure using the power of React.

BranchesTags
Open more actions menu

Latest commit

 

History

2,538 Commits
2,538 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
cli
cli
 
 
cloud
cloud
 
 
config
config
 
 
core
core
 
 
demo
demo
 
 
docker_hub
docker_hub
 
 
docs
docs
 
 
dom-parser
dom-parser
 
 
scripts
scripts
 
 
systemtest
systemtest
 
 
testutils
testutils
 
 
utils
utils
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
.gitmodules
.gitmodules
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
default.code-workspace
default.code-workspace
 
 
lerna.json
lerna.json
 
 
package.json
package.json
 
 
renovate.json5
renovate.json5
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Adapt logo

npm npm Gitter License

Adapt - ReactJS for your infrastructure.

AdaptJS is a system to easily, reliably, and repeatably deploy your full-stack applications. Adapt specifications look like React apps, but instead of rendering browser DOM elements like <input>, or <div>, Adapt specifications use elements like AWS <EC2Instance>, Kubernetes <Pod>, or <MongoDB> database. An Adapt description for a complete front end and back end app stack looks like this:

import Adapt from "@adpt/core";
import { NodeService, ReactApp } from "@adpt/cloud/nodejs";
import { Postgres } from "@adpt/cloud/postgres";

function MyApp() {
  const pg = Adapt.handle();

  return (
    <Adapt.Group>
      <ReactApp srcDir="../frontend" />
      <NodeService srcDir="../backend" connectTo={pg} />
      <Postgres handle={pg} />
    </Adapt.Group>
  );
}

Each of the components above renders to simpler components until they get to primitive infrastructure. You can also specify a style sheet to customize how components render to infrastructure (e.g., Docker vs. Kubernetes vs. AWS). Styles can also swap out components entirely, for example, using a test database for your test environment and a hosted database service for production.

If you're already familiar with React, you'll feel right at home with Adapt. But if not, don't worry, knowledge of React isn't required to start using Adapt. You can get started with a starter, write your code and deploy, and come back to the Adapt specification when you need to change how it gets deployed.

Getting Started

For a new project, it's easy to get started with Adapt by using a starter template. The Getting Started Guide will walk through installing Adapt and deploying your first starter app.

Creating and deploying an app

This example creates a new full-stack app from a starter template. It has a React UI, an Nginx web server, a Node.js API server, and a Postgres database, then deploys it to Kubernetes:

# Install adapt
npm install -g @adpt/cli

# Create a new app from a starter template
adapt new hello-react-node-postgres ./myapp
cd myapp/deploy

# Deploy full stack locally using Docker
adapt run laptop

# Or just as easily deploy everything to Kubernetes
adapt run k8s-test

Adapt in action

This demo shows using Adapt to create and deploy a simple app called MovieDB that has a React UI, an Nginx web server, an Nginx URL router, a Node.js API server, and a Postgres database, then deploys it to Kubernetes:

Adapt in action

More info

  • Adaptjs.org

    Learn more about Adapt.

  • Getting Started Guide

    This guide will walk you through setting up Adapt and then deploying an example MovieDB app.

  • Deploying on Google Kubernetes Engine

  • Adapt Documentation

    Adapt tutorials, API References, and more.

Getting Help

Gitter

We'd love to hear about your experience with Adapt! Join us on our Gitter channel to ask questions or to give us your feedback and suggestions.

If you've found a bug, you can also file an issue.

Sponsors

Adaptable.io

Adaptable is the easiest way to deploy your app. Deploy an app now!

About

ReactJS for your infrastructure. Create and deploy full-stack apps to any infrastructure using the power of React.

adaptjs.org

Topics

awscloudcontainersdeploydeploymentdevopsdockerinfrastructure-as-codejavascriptk8skubernetesnodejsreactreactjstypescript

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

406 stars

Watchers

4 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.