This is the typescript client to use when participating in the Domain Modeling hands-on.
- Wait until the Codespace is completely started.
- Run
npm startin the terminal. - Go into the
PORTStab in the bottom half of your screen. Change the visibility of the public api port from Private to Visible (Right click -> Port Visibility -> Public). - Now you can copy the Local Address and use that in the workshop.
run npm install or yarn
Start the application the runner of your choice: npm start, yarn start or however you see fit
This will start your server locally on port 8000
Make sure you have ngrok configured correctly. If unsure, please visit https://dashboard.ngrok.com/get-started/your-authtoken
ngrok http 8000 should setup the tunnel. Copy the generated url from the commandline.
You can also visit https://dashboard.ngrok.com/cloud-edge/endpoints to see the endpoints you are exposing.
Go to https://domainmodelling.dev and start a session.
Add the url you got from ngrok as a client url when asked, and validate the connection.
You are now ready to start. Follow the instructions for the exercises.
- To run them once:
npm testoryarn test - To run them continuously:
npm run test: watchoryarn test:watch