Table of Contents
- This is the second part out of four in the project for Advanced Programming 2 course at Bar Ilan University.
- In this part we created a web server using asp.net, which implemets the API provided.We migrated and adjusted the first part of the project (https://github.com/TomerPardi/Whatsapp-Web-Clone) to work with the server using API calls. In its current state the app supports only text communication. We used JWT's to distinguish and differentiate between connected users, and we identify user requests by the tokens embedded in the requests. Real time communications between users is implemented using SignalR hub in the server. Additionally, the repository contains a rating page created using asp.net MVC, which is linked to the chat login page.
- Authors: Daniel Bronfman (ID: 315901173) & Tomer Pardilov (ID: 316163922).
After cloning the repository you will have two folder containing the 3 parts of the project.
- The WebApplication folder contains the asp.net backend and the react on node.js frontend in the ClientApp folder.
- The RatingApp contains the asp.net MVC code of the rating page.
- To fully launch the project you need to have 2 asp.net servers running, and node.js for the react client.
Make sure to get all the dependencies for the react webclient.
- npm
npm install
- Ports: Please make sure that the rating app server is listeting on port 5081, and that nodejs listens on port 3000.
We provide as batch script to launch the servers simultaneously, launch.bat located in the root folder.

Otherwise launch the asp.net servers and run npm start from the ClientApp folder.
alice | 123 bob | 456 dan | 123 peter | 123
- Limitations: Due to the authentication using JWT and cookies only one client can be connected per browser (2 if using one incognito browser.) For best results use Google Chrome.

