Carpenteri1 / Carpenteri1/Gridly

Update version endpoint

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
1
Forks
0
Avg merge
1h 12m
Merged PRs (30d)
27

Description

## What
We need to separate the look for version in database endpoint,
and look for version on gothub endpoint.

## Why
Show if there are any new versions of gridly for the user.

## Defentions of done
look for version, is it stored in database or cashed ?
If its not stored return not found, go to other endpoint check version, stored and cache.
If its stored get the version, check third party endpoint for version
If they are same version set boolean to false.
If they are different versions, header should show new version on client and version name.
Cash new version and set boolean to true.
If Ratelimiter is active for third party call, just send 200 back.
It should check by itself every 8 h

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.