Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ylogx/oneplanet-corona-backend
Coronavirus Tracker App's API Backend
https://github.com/ylogx/oneplanet-corona-backend
api cloud-run coronavirus docker golang google-cloud json
Last synced: 16 days ago
JSON representation
Coronavirus Tracker App's API Backend
- Host: GitHub
- URL: https://github.com/ylogx/oneplanet-corona-backend
- Owner: ylogx
- Created: 2020-03-28T22:52:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T08:20:20.000Z (over 4 years ago)
- Last Synced: 2024-12-09T21:12:02.395Z (2 months ago)
- Topics: api, cloud-run, coronavirus, docker, golang, google-cloud, json
- Language: Go
- Homepage: https://api.corona.oneplanet.us
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coronavirus Tracker App's API Backend
This was sprint project to hash out the code and release an (Android & iOS) app in their corresponding Play/App Store over the weekend.
### Project Repos
* App: [ylogx/oneplanet-corona-app](https://github.com/ylogx/oneplanet-corona-app)
- The app is written in dart and works on both Android & iOS. App supports dark & light mode.
* ***API Backend***: [ylogx/oneplanet-corona-backend](https://github.com/ylogx/oneplanet-corona-backend)
- The app reads data from backend REST API written in GoLang, containerized using [Docker][docker] and deployed on Google Cloud using [Cloud Run][gc-cloud-run].
* App Webpage: [ylogx/oneplanet-corona-web](https://github.com/ylogx/oneplanet-corona-web)
- The app's webpage is a requirement for submitting the app to App/Play Store ([privacy page][privacy-page], tos page, etc.)---
### Development
To run unit test, use: `make test`. To build the docker image, use: `make build_gcr_docker`.
To deploy on Google Cloud Run, use: `make gcr_pipeline`. There are tons of useful commands in Makefile.### Deployment
Deployed at: [/home][api-home-response]
Response:
```json
{
"data": {
"Cases": 722196,
"Deaths": 33976,
"Recovered": 151766,
"Updated": 0,
"UpdatedAt": "2020-03-30T03:08:07Z",
"Active": 536454
},
"message": "success",
"status": true
}
```[gc-cloud-run]: https://cloud.google.com/run/
[docker]: https://shubham.chaudhary.xyz/blog/docker/101
[privacy-page]: https://corona.oneplanet.us/privacy
[api-home-response]: https://api.corona.oneplanet.us/home