Added Contributor Modal and Button Enhancements#118
Open
PKOOOO wants to merge 7 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- Updated `<img>` tags to Next.js `<Image />` component for optimized image loading and better performance - Specified width and height for each image to improve layout stability and maintain responsiveness - Imported `Image` from `next/image` and applied it to all gallery images This change addresses the LCP and bandwidth warning by leveraging Next.js's image optimization.
Collaborator
|
@GabrielPlus ensure the form works and resolve conflicts |
|
@GabrielPlus is attempting to deploy a commit to the swahilipothubdev's projects Team on Vercel. A member of the Team first needs to authorize it. |
…he frontend with the Neon PostgreSQL database for persistent data storage
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 the Contributor Management feature to the application. It allows users to add, view, and manage contributors, integrating the frontend with the Neon PostgreSQL database for persistent data storage. Below are the key components and functionality implemented in this feature:
Features Implemented:
Database Setup:
Created a contributors table in the Neon PostgreSQL database to store contributor information, including their name and GitHub username.
API Endpoints:
Implemented endpoints to handle contributor data:
POST /api/contributors: Adds a new contributor to the database.
GET /api/contributors: Retrieves the list of contributors.
Frontend Implementation:
Developed a UserCard component to display the list of contributors. This component fetches data from the API and presents each contributor's name and GitHub username as a clickable link.
Form Implementation:
Created a form component to allow users to add new contributors, ensuring input validation and handling API requests.


Testing
Conducted tests for both the API and frontend components, ensuring that contributors are added and retrieved correctly.
Documentation
Updated the project README to include details on adding contributors, running the application, and understanding the database structure.
Markdown
Title: Implement Contributor Management Feature
Description: Introduced features for managing contributors in the application.
Motivation: To enable users to easily add and view contributors.
Labels
Type: feature
Status: in progress
Milestones
Milestone 1: Complete Contributor Management Implementation
Milestone 2: Integrate Frontend and Backend Functionality
, and UI renders as expected.