Student Hub is a social media platform designed exclusively for students of Kebbi State University. It provides a platform for students to connect, share information, and engage with each other within the campus community.
- Post Creation: Students can create posts to share updates, ask questions, or discuss topics.
- Comments: Users can comment on posts to engage in discussions.
- Likes: Show appreciation for posts by liking them.
- Real-time Chat: Private messaging feature for one-on-one conversations between students.
- Profile Customization: Students can customize their profiles with profile pictures and information.
- Frontend:
- React.js
- Tailwind CSS
- Chakra UI
- Backend:
- Firebase Authentication for user authentication
- Firebase Firestore for database
- Firebase Storage for storing user images
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/python-fuse/studentHub.git
- Install dependencies:
cd studentHub npm install
- Create a Firebase project:
- Go to Firebase Console and create a new project.
- Set up Firebase Authentication, Firestore, and Storage services.
- Set up Firebase configuration:
- Copy your Firebase config object from Firebase Console.
- Create a
.env
file in the root directory and add your Firebase config:REACT_APP_FIREBASE_API_KEY=your-api-key REACT_APP_FIREBASE_AUTH_DOMAIN=your-auth-domain REACT_APP_FIREBASE_PROJECT_ID=your-project-id REACT_APP_FIREBASE_STORAGE_BUCKET=your-storage-bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id REACT_APP_FIREBASE_APP_ID=your-app-id
- Start the development server:
npm start
- Open http://localhost:3000 to view the app in your browser.
-
Authentication:
- Enable Email/Password and Google Sign-In methods.
- Set up Firestore security rules for user authentication.
-
Firestore Database:
- Create a collection named
users
. - Create a subcollection named
posts
under each user document.
- Create a collection named
-
Storage:
- Create a folder named
user-profile-images
for storing user profile pictures.
- Create a folder named
- Umar Muhammad(https://github.com/python-fuse)
This project is licensed under the MIT License.
or need further assistance, please let me know!