Git Product home page Git Product logo

mapudungun-backend's Introduction

mapudungun-backend

Mapudungun backend is a spanish/mapudungun dictionary that is created as rest service, written in javascript and executed in Nodejs. This project is compound by three repositories.

Installation

Prior to run the proyect it is necessary to have Nodejs installed and execute the following command in the root directory of the proyect, to install the correspondent dependencies.

git clone [email protected]:pabloaraya/mapudungun-backend.git
cd mapudungun-backend
npm install

To start the server we execute the following command.

node app.js

It worths mentioning that the command can vary between node and nodejs depending of the operative system and if the port is changed to 80, you must prepend the "sudo" command at the sentence.

Usage

The service receives three params:

  • from: input lenguage
  • to: output lenguage
  • word: word to translate

And the service returns four params:

  • statusCode: Int
  • status: String
  • message: String
  • words: Array (optional)

To test the server we can to execute the following command.

curl 'http://0.0.0.0:3000/api?from=spanish&to=mapudungun&word=niño'

License

Mapudungun-backend is published under the MIT License.

Contact

mapudungun-backend's People

Contributors

pabloaraya avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.