Git Product home page Git Product logo

visit-count's Introduction

Infrastructure-Components

Infrastructure-Components configure the infrastructure of your React-App as part of your React-Components.

This piece of code is all you need to create, build, and deploy a Serverless Isomorphic React App!

/** index.tsx */
import * as React from 'react';

import {
    IsomorphicApp,
    WebApp,
    Route
} from "infrastructure-components";

export default (
  <IsomorphicApp
    stackName = "my-isomorphic-app"
    buildPath = 'build'
    assetsPath = 'assets'
    region='us-east-1'>

    <WebApp
      id="main"
      path="*"
      method="GET">

      <Route
        path='/'
        name='My Serverless Isomorphic React App'
        render={(props) => <div>Hello World</div>}
      />

    </WebApp>
</IsomorphicApp>);

This repository provides a working example of a Serverless Isomorphic React App with Infrastructure-Components.

Installation

You can install infrastructure-components easily

npm install --save infrastructure-components

infrastructure-scripts provide all the scripts required to build, start, and deploy. This lib contains many libraries that you only need during development/deployment. Thus, install this library as devDependency::

npm install --save-dev infrastructure-scripts

Infrastructure-components use the Serverless framework <https://serverless.com/>_ that you need to install globally::

npm install -g serverless

Finally, apps (e.g. single-page-app, isomorphic-app) and components (environment, webapp) can have further dependencies. Have a look at them in our documentation.

Help and Support

Have a look at our documentation.

Infrastructure-Components are under active development. If you find a bug or need support of any kind, please have a look at our Spectrum-Chat.

Further, we frequently publish descriptions and tutorials on new features on Medium.com.

visit-count's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

visit-count's Issues

Windows support

Doesn't seem to work on Windows with

[email protected] postinstall C:\Users\pnogas\ReactProjects\visit-count\node_modules\infrastructure-scripts
./scripts/icscriptsinstall.js
'.' is not recognized as an internal or external command,

I found your chat on spectrum saying there was an alpha, found it on npm and tried it and it seemed to fix this issue. This issue is just to make sure the update is propagated here (whether alpha or release version) for people who might not be able to figure out the process on their own.

Package Updates

I cloned this repo and installed packages. npm reports several outdated packages:

found 36 vulnerabilities (20 low, 3 moderate, 13 high) in 1977 scanned packages
  run `npm audit fix` to fix 21 of them.
  15 vulnerabilities require manual review. See the full report for details.

Will there be any updates to resolve this? Or should I submit a PR?

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.