Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quentinwidlocher/materia

Chat client & server
https://github.com/quentinwidlocher/materia

chat-application flask-api flask-socketio vuejs webapp websocket-chat

Last synced: 5 days ago
JSON representation

Chat client & server

Awesome Lists containing this project

README

        

![Materia](/frontend/src/assets/logo.png)

# Materia

## What is Materia

Materia is a websocket chat client made with flask, socket.io and Vue JS.
Its goal is not to be better than the others, it's only a training.

## What is Materia made of ?

### Frontend

- Vue.js
- Bootstrap 4

### Backend

- Flask (1.0.3)
- Socket.io

## How to install

### 1) Setup the virtual environement

```
# Linux
python3 -m venv venv

# Windows
py -3 -m venv venv
```

### 2) Activate the virtual environement

```
# Linux
. venv/bin/activate

# Windows
venv\Scripts\activate
```

### 3) Install python requirements

```
pip install -r requirements.txt
```

### 4) Install npm requirements

```
./> npm install
./> cd frontend
./frontend> npm install
```

### 5) Build the frontend

```
./frontend> npm run-script build
```

### 6) Launch the flask server

```
./frontend> cd ..
./> python app.py
```

### 7) Open the served page

Go to `http://127.0.0.1:5000/`