peaonunes / dialetus-service

Bringing cultural diversity from each one of us, being able, to deepen in the our Brazilian's daily culture.

Home Page:https://dialetus-service.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dialetus Service

CircleCI PRs Welcome GitHub license All Contributors

How did the idea come about?

The idea came about through the meeting of friends who only knew each other through the internet, each one with its linguistic-cultural traits, we thought of creating an informal dictionary for the idiomatic expressions that each Brazilian region possessed, so the project was totally collaborative, bringing cultural diversity from each one of us, being able, to deepen in the our Brazilian's daily culture.

📃 API

All endpoints live under the URL https://dialetus-service.now.sh and then generally follow the REST architecture.

All requests must be encoded as JSON with the Content-Type: application/json header. Most responses, including errors, are encoded exclusively as JSON as well.

GET /regions

List all regions available with the total mapped dialects.

Request

$ curl https://dialetus-service.now.sh/regions

Response

[
  {
    "name": "baianes",
    "total": 27
  },
  {
    "name": "potiguares",
    "total": 30
  },
  {
    "name": "mineires",
    "total": 21
  },
  {
    "name": "paranes",
    "total": 53
  },
  {
    "name": "carioques",
    "total": 8
  },
  {
    "name": "rondones",
    "total": 9
  }
]

GET /regions/:region/dialects

List all dialects mapped.

Request

$ curl https://dialetus-service.now.sh/regions/baianes/dialects

Response

[
  {
    "dialect": "Relaxe mô fiu.",
    "meanings": [
      "Sem problemas",
      "Fique tranquilo"
    ],
    "examples": [
      "Ô vei, relaxe mô fiu todo nervoso ele."
    ]
  },
  {
    "dialect": "É bala!",
    "meanings": [
      "algo interessante",
      "massa"
    ],
    "examples": [
      "Que computador bala!"
    ]
  },
  {
    "dialect": "Comer água!",
    "meanings": [
      "Vodka",
      "Cerveja",
      "Qualquer bebida que contenha álcool"
    ],
    "examples": [
      "Vamo pro reg comer água galera!"
    ]
  },
]

List of dialects

GET /dialect

GET /dialect

# /dialect/:region
GET /dialect/baianes
GET /dialect/mineires
GET /dialect/paranes
GET /dialect/carioques
GET /dialect/potiguares
GET /dialect/rondones
GET /dialect/cearences

Respect earns Respect 👏

Please respect our Code of Conduct, in short:

  • Using welcoming and inclusive language
  • Being respectful of differing viewpoints and experiences
  • Gracefully accepting constructive criticism
  • Focusing on what is best for the community
  • Showing empathy towards other community members

Contribute 🍕

Please take a look at the contributing guide.

Authors 😎

Contributors 🎉

Thanks goes out to all these wonderful people (emoji key):


Marcus Silva

💻 📖 👀

Angelmário Santana

💻 📖 👀

Rodolfo Silva

💻 📖 👀

Bruno Pulis

💻

Wellington Mitrut

💻

Diego Ramos

💻

Caio Alcântara

💻

Lucas Farias

💻

Higor Morais

💻

Medson Mendes

💻

Randѕon Oliveira

💻

License

Dialetus is released under the MIT license.

Copyright © 2018.

About

Bringing cultural diversity from each one of us, being able, to deepen in the our Brazilian's daily culture.

https://dialetus-service.now.sh/

License:MIT License


Languages

Language:JavaScript 97.4%Language:Dockerfile 2.6%