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

Use API endpoints for connections to different platforms and remove direct database connections #9

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

this-pama
Copy link
Contributor

@this-pama this-pama commented Aug 10, 2023

  • Browse blog/articles using API endpoints.
  • Browse and search collections using API endpoints
  • Add and remove pads from collection using API endpoints
  • Download files via API endpoint
  • Remove direct database connections
  • Remove unused routes, views and redundant files.
  • Create new home page to summarise all platform data/view/activities.
  • Add google translate widget

This PR revamp the current global platform to rely on API endpoints instead of direct DB connections. The only direct db connection needed is the login db ( we can also rely on the API endpoint for login -this will be handed to the pipeline for future enhancement). This PR switches to JWT token for platform-platform connection.

Since the aim of the global platform is to give a general overview of all platforms in terms of statistics and quick access to data from all platforms. The new home page will aim to summarise the data/activities and provide quick links to all connected platforms for users to easily navigate to all acclab platforms.

Environment variables update:

  • BLOG_API_URL
  • BLOG_API_SECRET

@this-pama this-pama changed the title Api-call Use API endpoints for connections to different platforms and remove direct database connections Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant