Tutorials
Here the source code written in the tutorials will be available after respective tutorial.
Tutorial 1: Vue Basics
- Unzip the file tutorial-01-vue-basics-app.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped.
- Run the command
npm installto install all dependencies (Vite, Vue, etc.) - Run the command
npm run devto start Vite
Tutorial 2: Vue with SDK
- Recording
- Architecture image
- GUI image
- App:
- Unzip the file tutorial-02.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (Vite, Vue, etc.) - Run the command
npm run devto start Vite
Tutorial 3: Implement REST API (GET + arrays)
- App:
- Unzip the file tutorial-03-villfish-backend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (express) - Run the command
node app.jsto start the web application - Use the web browser or Postman to send HTTP requests to the web application to test it (e.g
GET/adds)
Tutorial 4: Implement REST API (POST + DB) and fetch()
- Backend App (Web app, Express):
- Unzip the file villfish-backend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (expressandsqlite3) - Run the command
node app.jsto start the web application - Use the web browser or Postman to send HTTP requests to the web application to test it (e.g
GET/ads)
- Frontend App (Vite, Vue.js):
- Unzip the file villfish-frontend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (vite,vue, etc.) - Run the command
npm run devto start the Vue app - Open the URL printed in the shell/terminal in a web browser, and navigate to
/adsto fetch and show the ads stored on the server
Tutorial 5: fetch() + accounts
- Backend App (Web app, Express):
- Unzip the file villfish-backend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (expressandsqlite3) - Run the command
node app.jsto start the web application - Use the web browser or Postman to send HTTP requests to the web application to test it (e.g
GET/ads)
- Frontend App (Vite, Vue.js):
- Unzip the file villfish-frontend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (vite,vue, etc.) - Run the command
npm run devto start the Vue app - Open the URL printed in the shell/terminal in a web browser, and navigate to
/adsto fetch and show the ads stored on the server
Tutorial 6: Login (access tokens + ID tokens)
- Backend App (Web app, Express):
- Unzip the file villfish-backend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (expressandsqlite3) - Run the command
node app.jsto start the web application - Use the web browser or Postman to send HTTP requests to the web application to test it (e.g
GET/ads)
- Frontend App (Vite, Vue.js):
- Unzip the file villfish-frontend.zip on your computer
- Open a shell/terminal and navigate to the root folder of the project you unzipped
- Run the command
npm installto install all dependencies (vite,vue, etc.) - Run the command
npm run devto start the Vue app - Open the URL printed in the shell/terminal in a web browser