Giter Site home page Giter Site logo

marconi1992 / ara-gatsby-demo Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 404 KB

Implementing Microfrontends in GatsbyJS using Ara Framework

Home Page: https://medium.com/ara-framework/implementing-microfrontends-in-gatsbyjs-using-ara-framework-a95ee79cc0e7

JavaScript 47.55% CSS 50.77% Dockerfile 0.63% Vue 1.05%

ara-gatsby-demo's Introduction

Implementing Microfrontends in GatsbyJS using Ara Framework

Setup

Install Dependencies for GatsbyJS project gatsby-site

$ yarn install

Install Dependencies for Nova service novas/global

$ yarn install

Install Ara CLI

$ npm install -g ara-cli

Install Nova Static

$ export GOPATH=~/go

$ go get github.com/ara-framework/nova-static/nova-static

$ go install github.com/ara-framework/nova-static/nova-static

$ export PATH="$PATH:$GOPATH/bin"

Running GatsbyJS

Run development server for GatsbyJS project:

$ yarn develop

Generate static website:

$ yarn build

Serve static files locally after generate static webiste:

$ yarn serve

Running Nova service locally

Run Lambda locally:

$ ara run:lambda

Run Lambda locally with S3 server:

$ ara run:lambda --asset

Running Nova Static

Define environment variables

$ export HYPERNOVA_BATCH=http://localhost:3000/batch

/* Relative path from the gatsby project */
$ export STATIC_FOLDER=./public

Execute nova-static command in gatsby-site

$ nova-static

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.