/chatApp-REST-kvanc

REST Backend for the FHNW Chat Applikation. Teil eines Projektes wärend des Studiums

Primary LanguageVue

Chat App - REST API - FHNW kvanc 2020

This is a project for the modul kvanc (Kommunikation in verteilten Anwendungen)

Backend

Getting started

  • Go to Backend Folder cd backend
  • Run pip install flask-restplus from the project root.

Run Server

  • Run python app.py in the backend folder.

Frontend

Getting started

  • Go to the Frontend Folder cd vue/chat-app
  • Run npm install from the project root.

Run Frontend

  • Run yarn serve from the project root.
  • Open Chat App - Frontend must run

API Documentation

API Calls

Features

  • go to http://localhost:8080/
  • If backend isnt running you will see an error message
  • If Backend is running you see a login screen
  • You can already see who is already in the chat
  • SignIn with a Username
  • Chat opens up
  • You see the blue bubbles are your messages and the green ones from the others
  • Grey Bubbles represent messages from the bot, as example if someone signs in or out
  • Behind each message you see a time stamp