antonioalmeida / ditado-api Goto Github PK
View Code? Open in Web Editor NEWPublic API to serve ditados, i.e., popular portuguese sayings.
Home Page: https://ditado-api.fly.dev/ditados/random
License: MIT License
Public API to serve ditados, i.e., popular portuguese sayings.
Home Page: https://ditado-api.fly.dev/ditados/random
License: MIT License
The project has a linter setup but no specific codestyle is enforced
Hello this is not an issue actually, I just read on your README this:
Github Actions had just came out and I wanted to learn all about it, namely how to automate deployments via Heroku. Fetching ditados seemed like the perfect excuse. Also inspired by this.
I just want to let you know that you can actually create automatic deployments in heroku even without github actions. That would be more way convenient. If you want to learn more about github action I suggest you can make some automated test, or some sort of thank you message for every issue. :)
Ditados are cool, but we need more. Let's create some!
Introducing /generate
:
We can copy his data and go from there.
Later I'm thinking of building a bot that publishes a generated ditado per day to Mastodon
Add your own ditado to the collection!
As per the project's README.me:
ditados.json
;meaning
field:{
"ditados":[
(...)
{
"content":"Your ditado",
"meaning":"What it means"
}
]
}
At the moment only the entire document can be fetched, but retrieving a random entry would be way more interesting.
I'm leaving this issue open on purpose because it it quite simple and a beginner might try and have a go at it.
Implement some form of static validation on the ditados.json
file that is ran in PRs and blocks merges if there are problems
No need to support node 8, 10, and 12 anymore
Test files shouldn't be in the main repository folder, but have a proper directory, e.g., __tests__
Heroku deployment no longer works because free tier was decommissioned. Find an alternative and setup deployment via Github Actions
It's 2022, we can do better
We now use fly.io instead of Heroku
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.