nttung1110 / CS422-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS422-Project

Text module

text module path = 'source/backend/module/Text_API_Django'

Text module API implementation is located inside text_module_path

To start deploy text module services, follow these steps:

  • Start to forward local host from server to your local machine for testing

Run on terminal

ngrok http 8000

Replace underlined text to the last elements of ALLOWED_HOSTS array as following

  • Deploy text services

Run on terminal


cd source/backend/module/Text_API_Django

python manage.py runserver
  • API Access:

Text service currently serve POST request to retrieve images

Sample POST request can be as following:

  • API Documentation:

https://documenter.getpostman.com/view/8735149/T17Dgomi?version=latest

  • Text services: 9cad890d9904.ngrok.io

  • Sketch services: e04e9e53a1d2.ngrok.io

  • Image services: ec35e7629360.ngrok.io

Demo

https://www.youtube.com/watch?v=hX6_5KruNC4

About


Languages

Language:Python 99.1%Language:Shell 0.9%