Skip to content

Laungify/my-tikoz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MT-TIKOZ FOLDER STURUCTURE AND ARCHITECTURE

YARN WORKSPACE FOR MONOREPO

Yarn workspace helps us manage one global package.json that runs all our apps, UIs , Libs and backend.

we currently have two workspaces in root package.json

"workspaces": [ "server", "client" ],

To select and add a package to a particular workspace, do this : yard workspace <workspace-name> <command>

  • lets say you want to add react rourter dom to client workspace yarn workspace client add react react-dom --dev

everythtime you have a new app, make sure you add it to the workspace in root package.json { "private": true, "workspaces": ["workspace-a", "workspace-b"] }

How to run the app

we using concurrnently to run the app both the backend and front-end at same time make sure you are the root level of my-tikoz like git: /c/dev/my-tikoz (master) use yarn dev to run the app

Clone the app

  • Make sure the root package folder is my-tikoz or MY-TIKOZ since its the name in the root package.json.
  • run yarn install after cloning

Releases

No releases published

Packages

 
 
 

Contributors

Languages