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

Added Explore community page in frontend + Database request to save/view/delete/edit new community information #268

Merged
merged 14 commits into from
Nov 10, 2024

Conversation

mehul-m-prajapati
Copy link
Contributor

@mehul-m-prajapati mehul-m-prajapati commented Nov 7, 2024

fixes #230

  • Added new community page under explore community
  • Implemented Add new community form to submit new community info
  • Added a join button for users to join the community
  • Added Database calls to save all community data and view the same in cards
  • Added SQL function to update user counter in community table and RPC call in front-end to trigger the same

TBD: Add social media links for joining ???

New Table Schema

-- Create communities table
create table communities (
  id uuid primary key default uuid_generate_v4(), -- Unique ID for each community
  community_name text not null, -- Name of the community
  community_description text, -- Short description of the community
  community_location text, -- Location or region where the community is based
  community_category text, -- Category of the community (e.g., Tech, Sports, Music)
  community_members_count integer default 0, -- Number of members in the community
  community_likes integer default 0, -- Number of likes the community has
  community_image text, -- URL of the community image
  community_creation_date timestamp with time zone default current_timestamp -- Date when the community was created
  is_approved boolean DEFAULT false -- Approval status of the community (false by default)
);

bandicam.2024-11-07.20-05-32-078.mp4

--

Copy link

vercel bot commented Nov 7, 2024

@mehul-m-prajapati is attempting to deploy a commit to the Tejas Nasre's projects Team on Vercel.

A member of the Team first needs to authorize it.

@mehul-m-prajapati mehul-m-prajapati changed the base branch from main to dev November 7, 2024 19:38
@mehul-m-prajapati mehul-m-prajapati changed the title WIP: Added Explore community page in frontend + Database request to save new community information WIP: Added Explore community page in frontend + Database request to save/view new community information Nov 8, 2024
@mehul-m-prajapati mehul-m-prajapati changed the title WIP: Added Explore community page in frontend + Database request to save/view new community information Added Explore community page in frontend + Database request to save/view new community information Nov 8, 2024
@mehul-m-prajapati mehul-m-prajapati changed the title Added Explore community page in frontend + Database request to save/view new community information Added Explore community page in frontend + Database request to save/view/delete/edit new community information Nov 8, 2024
@mehul-m-prajapati
Copy link
Contributor Author

NOTE: Super admin & other features related to community will be done in the new PR

@mehul-m-prajapati
Copy link
Contributor Author

@tejasnasre : please review the same

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nexmeet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2024 6:26am

@tejasnasre
Copy link
Owner

sir add community wala page different hona

@tejasnasre
Copy link
Owner

and the joined community wala form ny hona bs whatsapp ke ya fir un ke discord server ke link hona

@mehul-m-prajapati
Copy link
Contributor Author

@tejasnasre - give me list of form fields for add community page

@tejasnasre
Copy link
Owner

sir i am merging this pr after that i will make required changes

@mehul-m-prajapati
Copy link
Contributor Author

Okay, we can do changes afterwards

@mehul-m-prajapati
Copy link
Contributor Author

@tejasnasre : I have removed Join Community modal.

You can merge this PR. We can modify the page in new issue.

@aslams2020
Copy link

This PR has been merged by the GSSoC team
here - sanjay-kv/Open-source-Practice#1463

Don't add labels to it now.

You'll get the points in the leaderboard update.

@tejasnasre tejasnasre merged commit 23935aa into tejasnasre:dev Nov 10, 2024
4 checks passed
@tejasnasre
Copy link
Owner

sir please change LEARN.md with instruction to setup the things with storage also

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.

Add Community Listing Page
3 participants