Institute of Computer Science
  1. Courses
  2. 2022/23 fall
  3. Web Application Development (LTAT.05.004)
ET
Log in

Web Application Development 2022/23 fall

  • Home
  • Lectures
  • Practicals
  • Homework Submission
  • Message Board

Session 13 – Node.js III

1. Backend (Node.js and Postgres)

1. Clone the following repository Repo.

2. Navigate to the project directory

3. Install dependencies

  > npm install 

4. Run the project

  > node server
  Or
  > nodemon server

5. Inspect the code and try to understand it, everything is annotated to facilitate your understanding.

2. Frontend (Vue.js)

1. Clone the following repository Repo.

2. Install dependencies

   > npm install

3. Compiles and hot-reloads for development

   > npm run serve

4. Run the backend app (Node.js), and run the front-end app (Vue.js), and test how they can work together.

5. In the devTools, navigate to the Application tab, then choose "Cookies", under which you should find the created jwt. Check how the jwt is added when a user signup/login, and how it is deleted when the user logout.

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment