📜  fouzu moti (1)

📅  最后修改于: 2023-12-03 15:00:50.751000             🧑  作者: Mango

Fouzu Moti

Fouzu Moti is a social network app for Chinese Muslim community. This app allows the user to connect with fellow Muslims and share their experiences, beliefs, and culture.

Features
  • User authentication
  • User profiles
  • User-generated content
  • News feed
  • Like and comment system
  • Messaging system
  • Groups/Communities
  • Event creation
  • Halal vendors directory
Technologies Used

This app is built using the following technologies:

  • Backend: Django, Django REST Framework, PostgreSQL
  • Frontend: React, Redux
  • Other: Docker, Nginx
User Authentication

Fouzu Moti allows users to register with their email address or phone number. Users can reset their passwords in case they forget them. Users can also login using their social media accounts, such as Facebook and Google.

User Profile

Each user has a profile page that displays their name, profile picture, and bio. Users can add their interests, beliefs and other details to their profile.

User-Generated Content

Users can create posts, photos, and videos to share with their connections. They can also edit or delete their posts anytime.

News Feed

The news feed is the first page that appears when the user logs in. The news feed displays the user’s connections’ posts, ads, and sponsored content. Users can filter out the content that they don’t want to see.

Like and Comment System

Users can like and comment on posts. The user who posted the content receives notifications whenever someone likes or comments on their post.

Messaging System

Users can send direct messages to their connections. Users can also create group chats and invite their connections to join.

Groups/Communities

Fouzu Moti has groups and communities where users can join and connect with people who share their interests. Users can create their groups, as well.

Event Creation

Users can create events and share them with their connections. They can also join events created by other users.

# Example Code

class Event(models.Model):
title = models.CharField(max_length=255)
description = models.TextField()
start_date = models.DateTimeField()
end_date = models.DateTimeField()
location = models.CharField(max_length=255)
organizer = models.ForeignKey(User, on_delete=models.CASCADE)
attendees = models.ManyToManyField(User, related_name='event_attendees')

def __str__(self):
return self.title
Halal Vendors Directory

Fouzu Moti has a directory of halal vendors, such as restaurants, stores, and businesses. Users can search for halal vendors in their area and write reviews. The reviews are visible to all users.

Conclusion

Fouzu Moti is an app that empowers Chinese Muslims to connect with people who share their beliefs, culture, and experiences. It provides a safe and welcoming space for users to share their stories and build relationships.