lucab85 / n2w

Number to word (n2w) Progressive Web Application PoC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Number to word (n2w)

n2w logo

A simple "number to word" service composed by a backend API service (python Flask powered) and a frontend PWA (Progressive Web Application).

frontend PWA

Host static assets wherever you want and edit appropriately the website URL (https://number2word.appspot.com) in source code.

backend API service

Deploy

In api subdirectory:

  • pip install -r requirements.txt -t lib
  • gcloud app deploy

Usage

Request (HTTP): GET /n2w/api/v1.0/get/NUMBER/LANGUAGE

  • NUMBER (mandatory) integer number (eg. 42)
  • LANGUAGE (optional) two letter language code (eg. it) - Default: en

Response (JSON):

{
'number': 42,
'text': quarantadue,
'lang': it,
'created': 2017-11-07T01:00:00Z,
}

About

Number to word (n2w) Progressive Web Application PoC

License:Apache License 2.0


Languages

Language:CSS 30.5%Language:JavaScript 30.0%Language:Python 29.3%Language:HTML 10.1%