Share code between react client and express server

Опубликовано: 16 Октябрь 2024
на канале: Nathan Krasney
541
10

Share code between react client and express server while using typescript and vite

More about me: https://www.nathankrasney.com

github repo: https://github.com/NathanKr/react-vit...
video - dynamic type check :    • Typescript dynamic type check  
video - react form using json schema :    • Quickly create a react form  
video - setup react and express typescript project :    • Setup typescript react vite project a...  

Sections:
00:00 - Motivation for sharing code
04:30 - Create the project from another project
09:30 - Create the common directory and use it from the client
12:15 - Use the common directory from the server
16:15 - Share a function between the client and server
19:00 - Change common function code
22:15 - Summary