Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.13 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.13 KB

FlaskChat

One-to-one private chat using Vue.js, Flask and SocketIO

Prerequisites

Setting up the project to run on a local machine

First, clone this repository to your local machine:

$ git clone https://github.com/Onroe/FlaskChat.git

Running the App

##Extract the files

  • Using your python terminal, navigate into the - api folder to install dependencies:
$ pip install -r requirements.txt
  • Create database tables from database.py
$python
$from database import init_db
$init_db()
  • Run the api:
$ flask run

####Run the frontend -Open a new nodejs terminal window, then navigate to the frontend folder:

Install dependencies:

$npm install

Then run the app:

$ npm run serve

-Check the URL - http://localhost:8080/login. to create an account and start chatting

Screenshot

Screenshot

Screenshot