Development#16
Merged
Merged
Conversation
…istence of users across sessions
added complete authentication layer with registration, login and pers…
added checkmark upon task completion for individual users
added user ability to add new tasks
add HowToPage component with schema matching and versioning examples
add user ownership to created tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces user authentication and authorization to the frontend, improves the navigation experience, and adds support for creating, editing, and deleting challenges. It also sets up a local PostgreSQL database for the backend using Docker Compose. The most significant changes are grouped below.
Authentication & Authorization:
AuthProvidercontext (frontend/src/context/AuthContext.jsx) to manage user login, registration, and logout, storing credentials inlocalStorage. Components can access user state and authentication actions viauseAuth.frontend/src/api/axios.js) to attach authentication credentials fromlocalStorageto each request.frontend/src/App.jsx) so only authenticated users can access them.Navigation & UI Improvements:
NavBarcomponent that displays navigation links, the logged-in user's name, and a logout button; integrated it into main pages. [1] [2] [3] [4]Challenge Management:
Backend & Local Development Setup:
docker-compose.ymlwith persistent storage and a health check; configured the backend to use it. [1] [2].dockerignorefile for the frontend to speed up Docker builds and avoid copying unnecessary files.Development Environment: