brenomfviana / near

NEAR is a Web Service that provides operations related to a chat with simultaneous translation of messages context.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Near

Introduction

NEAR is a Web Service that provides operations related to a chat with simultaneous translation of messages context.

It aims to be RESTful (Representational State Transfer) and it uses Python with Flask in its implementation.

Features and TO-DOs

  • Rolling a dice of any faces through /rtd/<number of dice's faces>;
  • Performing the translation of a message through /translate (via POST);
  • Database usage;
  • Use this API in an application.

Setting things up

Requirements:

  • Python 3;
  • Python pip.

To fetch all dependencies of this project, go to it's root folder, through terminal, and type:

pip install -r requirements.txt

Running as it is and trying it out

Go to the root of the project, through terminal, and type:

python run.py

It will start listening at localhost:5000 (I guess). Go to localhost:5000/rtd/6 to test it. The result may be a JSON containing { 'response' : <Random number between 1 and 6> }

Demonstration

Demonstration

Team

Breno Viana Murilo Bento

About

NEAR is a Web Service that provides operations related to a chat with simultaneous translation of messages context.

License:MIT License


Languages

Language:Python 100.0%