Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
/ near Public archive

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

License

Notifications You must be signed in to change notification settings

brenomfviana/near

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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.

Topics

Resources

License

Stars

Watchers

Forks

Languages