Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix constants in endpoint urls. #47

Open
tyte opened this issue Nov 25, 2021 · 5 comments
Open

Fix constants in endpoint urls. #47

tyte opened this issue Nov 25, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@tyte
Copy link
Collaborator

tyte commented Nov 25, 2021

Used in lib/utils/repository/challenges/CHALLENGE_TYPE.dart
Using a constant for whole endpoint creates wrong url using dio getItem(). Tested with Api.challengeEventParticipantEndpoint constant.

Constants seem to work with get, but not post.

@tyte tyte added the bug Something isn't working label Nov 25, 2021
@Colin-Stark
Copy link

There's a database you could use with only one endpoint and it's really easy to maneuver and get your required data

@Colin-Stark
Copy link

I could do a sample of your rainbow challenge front app in it for you to see

@karina-klinkeviciute
Copy link
Owner

@Colin-Stark we already have a backend, it's built with Django. It's a REST API backend. Is the one you're suggesting using GraphQL?

@Colin-Stark
Copy link

It's a rest API cloud database using SQL and NoSQL

It's called Harperdb. It is pretty easy to integrate but you already have done that

@karina-klinkeviciute
Copy link
Owner

@Colin-Stark yes, we have a backend with Django and Python, the code for it is here if you're interested: https://github.com/karina-klinkeviciute/rainbow-challenge/projects/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Archived in project
Development

No branches or pull requests

3 participants