Skip to content
/ reactssr Public

This project consisted of React, Express. It is that use lambda for aws microservice.For React Universal Rendering.

Notifications You must be signed in to change notification settings

seye2/reactssr

Repository files navigation

reactssr

Table of Contents

Skill Set

Folder Structure

reactssr
    ├── dev                         # chunk bundle in development
       ├── client
       └── server
    ├── functions                   # It is going to deploy in aws.
       └── reactssr
           ├── client
           └── server
    ├── webpack
        ├── webpack.config.dev.client.js  # bundling dev client source
        ├── webpack.config.dev.server.js  # bundling dev server source
        ├── webpack.config.prod.client.js # bundling production client source
        └── webpack.config.prod.server.js # bundling production server source
    ├── config
    ├── zip.js                      # compress /function/reactssr/server folder
        └── s3upload.js             # upload /function/reactssr/client files in s3 folder
    ├── src
        ├── components              # consisted of react contents folders or files
            └── common              # consisted of common layout
                ├── footer.tsx
                ├── gnb.tsx
                └── layout.tsx
            ├── home                # component
            ├── my                  # component
            ├── client.tsx          # React hydrate, React router in client side
            └── template.tsx        # html template
        ├── controller
            └── Router.tsx          # express router
        ├── middle
            └── middlewares.ts      # set action before and after express router
        ├── shared
            ├── app.tsx             # set react router
            └── index.async.tsx     # set component using dynamic import
        ├── static
            ├── css                 # less,css
            └── ts                  # common and polyfill.js
        ├── app.ts                  # set express environment
        ├── local_server.tsx        # excute development
        ├── server.tsx              # excute lambda
        └── local_server.tsx        # excute server in production
    ├── api-gateway-event.json      # set and test api-gateway variable in local
    ├── deploy.sh                   # compress client source and deploy lambda and s3
    ├── function.json               # set lambda environment
    ├── importCss.js                # insert css using webpack loader
    ├── package.json                # only install using yarn
    ├── project.json                # set apex environment
    ├── tsconfig.json               # set typescript environment
    └── typings.d.ts                # allow all component, js to use global variable

Available Script

npm dev

npm prod-test

npm prod

About

This project consisted of React, Express. It is that use lambda for aws microservice.For React Universal Rendering.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published