A REST API to check the keys for the latest draws of Jogos Santacasa.
Go to file
Amelia a1bb03428b Remove unnecessary file 2022-06-06 15:20:21 +01:00
src Add contest ID in the data returned from the webscraper. Use selector to find option instead of using .find() 2022-06-06 15:03:17 +01:00
.gitignore Create project, create webscraper for Euromilhões page, begin works on REST API 2022-06-05 16:02:41 +01:00
README.md Update README.md 2022-06-06 15:18:59 +01:00
package.json Create project, create webscraper for Euromilhões page, begin works on REST API 2022-06-05 16:02:41 +01:00
tsconfig.json Create project, create webscraper for Euromilhões page, begin works on REST API 2022-06-05 16:02:41 +01:00
yarn.lock Create project, create webscraper for Euromilhões page, begin works on REST API 2022-06-05 16:02:41 +01:00

README.md

jogos-santa-casa-api

A REST API to check the keys for the latest draws of Jogos Santacasa.

Project scope

This project was created with the scope of learning how to web scrape using JavaScript/TypeScript, by using the Cheerios library. Used to also practice creating a REST API.

The project can be expanded upon in order to cover the other lottery tickets, however, as this was a practice project, I do not see how repeating the same process for the others would benefit me or my learning path. That said, feel free to fork it, use and expand it to your needs.

Dependencies

  • Node.js Used to run JS
  • Packages listed in package.json
    • Axios: HTTP requests library
    • Cheerios: Used for web scraping
    • Express: Used to create the web server