Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 2.46 KB

File metadata and controls

64 lines (51 loc) · 2.46 KB

WhenApp

This project was made by Shaked Cohen, Noam Cohen and Roi Avraham. 😃

we have created a site "inspired" by WhatsApp for multi platform communication.

Preview

Development

This web site was created using React JS, and server side using ASP.NET. Also used axios and signalR libraries.

Features

  1. supports registration and login.
  2. great design.
  3. responsive server.
  4. we have added a rating page.
  5. You can search ratings by name or by text.

How To Run

for this project you need to clone 3 repos:

  1. Web Site (react)
  2. Server (ASP WebAPI)
  3. Rating page (ASP MVC)

for running the react client:

  1. install dependencies using npm i

  2. run site using npm start

  3. open http://localhost:3000/ with a browser

  4. change in ustils/globals the paths so servers:

    Server - API server

    ratingServer - MVC server

  • to run 2 or more clients, run each in a separate browser because this app uses cookies

for running the api server:

  1. make sure to install mariadb with username root and password toor.
  2. delete db called WhenUpDB if exist.

you can skip those 2 steps by changing the db settings in WhenAppContext Screenshot_1

  1. delete migration folder.
  2. in package manager run Add-Migration init and Update-Database.
  3. run the server

for the rating server:

  1. delete migration folder.
  2. in package manager run Add-Migration init and Update-Database.
  3. run the server

if needed, install EntityFrameworkCore by entering int Package Manager Console
Install-Package Pomelo.EntityFrameworkCore.MySql -Version 6.0.1
Install-Package Microsoft.EntityFrameworkcore.Tools -Version 6.0.1

Dependencies

this project uses:

  • react
  • react router - react-router-dom
  • bootstrap - using cdn
  • ASP.net
  • Axios
  • SignalR