GaryHilares / GeoSMS2_Backend

API created for the GeoSMS2 project. It provides functionality to carry out many actions, such as translating text, getting the latest news, telling jokes, searching in Google, and solving mathematical expressions.

Home Page:https://geosms-2.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeoSMS2 Backend

badge-lastcommit badge-openissues badge-license badge-contributors badge-codesize

What is GeoSMS2 Backend?

GeoSMS2 Backend is a backend API created for the GeoSMS2 project. It provides functionality to carry out many actions, such as translating text, getting the latest news, telling jokes, searching in Google, and solving mathematical expressions.

Currently the API replies to any queries in Spanish. English support may or may not be added.

Platforms

  • Cross-platform

Dependencies

Development

  • Python 3
  • PIP

Motivation

We want to help people in some Andean areas of Peru, who don't have access to the Internet, to access useful, if limited, Internet-like functionality through SMS.

Installation and usage

To build and run the server, you can follow the next steps:

  1. Install the dependencies:
    1. Download and install Python 3 and PIP from Python's website or by using the package manager of your choice.
    2. Go to the root directory of the project and run pip install -r requirements.txt (or the equivalent command for your toolchain).
  2. Run GeoSMS2 Backend:
    • If you're in a development environment, you can just run index.py and it will start Flask's development server for you.
    • For a production deployment, disable the debug option from index.py and set up a WSGI server to run Flask from.

Once you do this, you should be able to connect to https://localhost/ and use the form there to execute commands to the main API, which listens to https://localhost/command for requests.

Contributors

Thanks to these wonderful people for making GeoSMS2 Backend possible!

License

This work is licensed under a Creative Commons Attribution 4.0 International License.

About

API created for the GeoSMS2 project. It provides functionality to carry out many actions, such as translating text, getting the latest news, telling jokes, searching in Google, and solving mathematical expressions.

https://geosms-2.vercel.app

License:Creative Commons Attribution 4.0 International


Languages

Language:Python 88.1%Language:HTML 10.9%Language:Dockerfile 1.0%