Skip to content

Given a number between -1^65 to 1^65, returns the written number in Json. Only PT_BR for now.

Notifications You must be signed in to change notification settings

lfniederauer/django-number-text-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Number to Text API PT_BR

Given a number between -1^65 to 1^65, returns the written number in Json.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Have a Docker up and running. Clone the repository:

git clone https://github.com/lfniederauer/django-number-text-translator.git

Installing and Running

With the terminal, access the local folder you cloned into. The root contains the Dockerfile and alike. Then run:

docker-compose up -d

The flag -d let you return to the terminal, so:

docker ps
curl localhost:3000/<number>

or from the browser curl localhost:3000/-22 returns:

{"extenso": "menos vinte e dois"}

Authors

License

This project is licensed under the MIT License.

Acknowledgments

“The human foot is a masterpiece of engineering and a work of art.”

― Leonardo da Vinci

“The world would be a better place if more engineers, like me, hated technology. The stuff I design, if I’m successful, nobody will ever notice. Things will just work, and be self-managing.”

― Radia Pearlman

About

Given a number between -1^65 to 1^65, returns the written number in Json. Only PT_BR for now.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published