My test task
I made a small google forms copy. Backend is in the server folder. Frontend is in the client folder.
Install
Go to the server folder and type npm install.
Go to the client folder and type npm install.
Go to the main folder (where this file is) and type npm install.
Run
In the main folder type npm run dev
Open the browser at http://localhost:5173
The api is at http://localhost:4000 if you need it.
Stop with ctrl+c.
Other way
First terminal: go to server folder, type npm run dev
Second terminal: go to client folder, type npm run dev
Codegen types
Turn on the server first. Then in the client folder type npm run codegen.
You need node and npm installed.