Skip to content

Latest commit

 

History

History
124 lines (76 loc) · 1.44 KB

File metadata and controls

124 lines (76 loc) · 1.44 KB

Pratham 2.0

Host App

teachers

Next JS, run:

nx dev teachers --port=3001 --verbose

admin

Next JS, run:

nx dev admin-app-repo --port=3002 --verbose

Micro Frontend List

authentication

Next JS, run:

nx dev authentication --port=4101 --verbose

basePath : http://localhost:4101/authentication/ Port : 4101

scp-teacher-repo

Next JS, run:

nx dev scp-teacher-repo --port=4102 --verbose

basePath : http://localhost:4102/scp-teacher-repo/ Port : 4102

youthNet

Next JS, run:

nx dev youthNet --port=4103 --verbose

basePath : http://localhost:4103/youthnet/ Port : 4103

workspace

Next JS, run:

nx dev workspace --port=4104 --verbose

basePath : http://localhost:4104/workspace/ Port : 4104

notification

Next JS, run:

nx dev notification --port=4105 --verbose

basePath : http://localhost:4105 Port : 4105

sbplayer admin

Next JS, run:

nx dev players --port=4106 --verbose

basePath : http://localhost:4106 Port : 4106

sbplayer teacher

Next JS, run:

nx dev players --port=4107 --verbose

basePath : http://localhost:4107 Port : 4107

NX Command

View Nx Graph

nx graph

Build All Project

npx nx run-many --target=build --all

Install NX Globally

npm install -g nx

Notes

use shared library in any project

import { SharedLib } from '@shared-lib';