All the events you never knew you needed to attend!
This is a simple full-stack web project for educational purposes, to demonstrate the functionality and value of moving from JS to TS gradually.
It is part of Anjana's course TypeScript First Steps on FrontendMasters.
Make sure you have an up-to-date version of Node installed, including [npm]
cd backend
npm i
cd ../frontend
npm i
Run the backend and frontend in separate terminals.
- Run the backend API
Install backend dependencies and launch the dev server:
cd backend
npm i
npm run dev
The API will be available at http://localhost:3000/api.
Leave the backend running in this terminal.
- Run the frontend client
In a new terminal, install frontend dependencies and launch the dev server:
cd frontend
npm i
npm run dev
Open the app at http://localhost:5173.
Leave the frontend running in this terminal.
The main branch contains the starting point for the course exercises, which involve migrating from JS to TS and fixing the app's (intentional) bugs in the process.
The solution branch contains a reference solution for the workshop exercises. But there is more than one way to type a script, so your solution might differ!