Skip to content

🔮 React SSR Advanced Seed (Typescript + nestJS + React SSR + React Native + Docker)

Notifications You must be signed in to change notification settings

vip-git/react-ssr-advanced-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React SSR Advanced Seed

(nestJS + React SSR + React Native + Nginx + Docker)

(Work In Progress)

Netlify Status Build Status Build Status CircleCI codecov BrowserStack Status

npm version dependencies dev-dependencies

Auto-Generated DOCS

Prerequisites

Todo List

Getting Started

npm install npm start (This will start both frontend and backend servers for you) Visit: - http://localhost:8500 (FrontEnd with HMR) - http://localhost:3000 (Backend running NestJS) - http://localhost:3000/graphql (Graphql server running graphQL playground theme) - http://localhost:3000/swagger (running Swagger UI) 

Production Build (Client and Server)

npm run build 

Docker Build (Frontend)

npm run start:docker 

Visit: http://localhost:8080

Mobile Build

npm run install:mobile (Install mobile dependencies) Packager: npm run start:mobile ios: npm run mobile:ios android: npm run mobile:android 

Kubernetes Deployment

kubectl create -f deployment.yml 

DockerHub Image

- https://hub.docker.com/r/vipgit/react-ssr-nginx/ docker run -d -v /root/.ssh/ -v /opt/node-advanced-app vipgit/react-ssr-nginx:latest 

Testing (Unit and End to End Testing)

npm run test (Runs Backend Unit Tests) npm run test:frontend (Runs Frontend Unit Tests) npm run test:e2e (Runs Frontend End to End Tests) 

Lerna Packages and its use

Web Components
- ChatBox - Dialog - DocGen - Wrapper 
React-Native-Web Components
- Shared 
Web Containers
- Chat - Login 
Mobile Containers
- Chat 
Mobile Components
- Chatbox 
Services
- Core - Chat Service - User Service 
State
- Chat 
Utils
- Doc Engine - Rules Engine