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

[Mutti, Kristina] Implement the Private Database and Update API #126

Closed
3 tasks done
kristinatrajkovski opened this issue Apr 17, 2024 · 7 comments
Closed
3 tasks done
Assignees
Labels
ASAP urgent, should be done within a day or so back end related to the app's functions, storage, features priority: high
Milestone

Comments

@kristinatrajkovski
Copy link
Contributor

kristinatrajkovski commented Apr 17, 2024

In order to allow our users to create profiles we must have a database which would store the users' related information. Similarly, ir order to allow our users to create, follow, like, unlike, comment, share, and modify routes, we must store those routes and their app user/app specific information. Accordingly, we must also implement the API which would serve as an intermediary between the database and front end.

  • Create a User scheme (do not forget to check our diagrams and requirements as reference). Make sure to include username, email, password at least for sign up and log in purposes.
  • Create a Route scheme (do not forget to check our diagrams and requirements as reference). Make sure to include Nodes, photos, creator, durations...
  • Create Node scheme (do not forget to check our diagrams and requirements as reference). Make sure to include location, link, etc.

Deadline: Friday, 19.04.2024.
Estimated Effort: 3-4 hours
Rewiever: @halil-karabacak

@kristinatrajkovski kristinatrajkovski added priority: high ASAP urgent, should be done within a day or so back end related to the app's functions, storage, features labels Apr 17, 2024
@kristinatrajkovski kristinatrajkovski added this to the Milestone 2 milestone Apr 17, 2024
@Mutti499
Copy link
Contributor

Connecting database with our api seems to be problematic. @halil-karabacak can you help me a little bit?

@halil-karabacak
Copy link
Contributor

Do we still have any issue after the today's meeting mate? If we, we may discuss it further!

@Mutti499
Copy link
Contributor

The problem is fixed and our mysql connections seem nice! Good work lets keep itt upppp!

@Mutti499
Copy link
Contributor

For now we implemented:

  • Node class model and endpoints to list all of them and one of them
  • Route class model and endpoints to list all of them and one of them
  • A basic HTML template for main webpage to test endpoints clearly.
  • A local MySQL server

@Mutti499
Copy link
Contributor

Mutti499 commented Apr 20, 2024

Okey

  • Userclass model and endpoints to list all of them and one of them added
  • Frontend to test user creation and node creaton added
    It looks like ready to go! @kristinatrajkovski can you control it ? I may have missed couple things

@kristinatrajkovski
Copy link
Contributor Author

@Mutti499 I have checked your database and functions. It all works well on my machine.

For the future, please research how we can make the database universal for everyone. We should definitely not create brand new users and routes on every machine.

Besides that, if we are talking about the local version, I think it is perfect. Feel free to make a pull request so all of us can use the database.

@Mutti499
Copy link
Contributor

We merged the branch and everything seems to be working now. Good job @kristinatrajkovski!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP urgent, should be done within a day or so back end related to the app's functions, storage, features priority: high
Projects
None yet
Development

No branches or pull requests

3 participants