Giter VIP home page Giter VIP logo

lowdefy-example-aws-amplify's Introduction

The purpose of this repository is to be an example on how to deploy Lowdefy apps (in version 4.0.0-rc.5) in AWS Amplify

  1. Create a folder 'deploy' in the root of the directory of the application (e.g. at the same level of the file lowdefy.yaml)

  2. Change the directoy to 'deploy'

cd deploy
  1. Init an Amplify project
amplify init
  • 3.1 Enter the name of the project: (e.g. "lowdefyamplify")
  • 3.2 Choose the default editor: (e.g. "Visual Studio Code")
  • 3.3 Choose the type of app you are building: javascript
  • 3.4 Choose the javascript framework you are using: react
  • 3.5 Source Directory Path: .
  • 3.6 Distribution Directory Path: .next
  • 3.7 Build Command: pnpm next build
  • 3.8 Start Command: pnpm start

Then choose as provider: awscloudformation

  1. Add Amplify Hosting
amplify add hosting
  • 4.1 Enter the name of the environment: (e.g. "test")
  • 4.2 Choose CI/CD

Then, once configured the backend you will be taken to the AWS Amplify Console, when you need to choose the repository for the frontend. Choose for example GitHub, then the repostitory and then the branch.

IMPORTANT: Choose "Monorepo" app, and enter 'deploy' there, this way it will detect that it is a NextJS SSR application.

Follow the steps (do not forget to add the necessary environment variables and eventually, secret environment variables in AWS System Manager Parameter Store).

lowdefy-example-aws-amplify's People

Contributors

samtolmay avatar vicam001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.