Imagine you are organising a tennis tournament and you want to keep track of the scores in real-time. You want some judge to keep score while watching a game. We want to allow people to keep track of all the matches that are played right now / were played earlier.
- Make sure you have the latest version of Wasp installed by running
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
in your terminal. - Create a new
.env.server
file (copyexample.env.server
as a starting point) - Start the PostgreSQL database with
wasp db start
- Run
wasp db migrate-dev
- Run
wasp start
. This will install all dependencies and start the client and server for you :) - Go to
localhost:3000
in your browser (your NodeJS server will be running on port3001
) - Install the Wasp extension for VSCode to get the best DX