Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victorbravim/metahub
Social Network WebSite - MetaHub
https://github.com/victorbravim/metahub
firebase javascript react socialmedia socialnetwork tailwind website
Last synced: 11 days ago
JSON representation
Social Network WebSite - MetaHub
- Host: GitHub
- URL: https://github.com/victorbravim/metahub
- Owner: VictorBravim
- License: mit
- Created: 2024-06-18T14:28:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T19:33:28.000Z (6 months ago)
- Last Synced: 2024-11-09T17:13:54.943Z (2 months ago)
- Topics: firebase, javascript, react, socialmedia, socialnetwork, tailwind, website
- Language: JavaScript
- Homepage: https://metahubapi.vercel.app
- Size: 1.31 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💻 MetaHub
![image](https://github.com/VictorBravim/MetaHub/assets/122113588/872b9eeb-e6df-4da2-944c-5c1704bbbab9)
## 🚀 Overview
MetaHub is a social media application built using React and Firebase. The platform allows users to create personalized profiles, publish content, follow other users, and interact with posts through likes. The application is designed to provide a smooth and interactive user experience, leveraging modern front-end and back-end technologies.
## 📋 Requirements
- Node.js
- Firestore
- React Router
- React Icons## 🔧 Installation
1. Clone the repository:
```
git clone https://github.com/VictorBravim/MetaHub.git
```2. Navigate to the project directory:
```
cd MetaHub
```3. Install the dependencies:
```
npm install
```## 🛠️ Project Rules
- FireStore
```
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /users/{userId} {
allow read: if request.auth != null;
allow write: if request.auth != null;
}match /users/{userId}/followers/{followerId} {
allow write: if request.auth != null && request.auth.uid != null && request.auth.uid == followerId;
}match /posts/{postId} {
allow read: if request.auth != null;
allow write: if request.auth != null;
allow delete: if request.auth != null && request.auth.uid == resource.data.userId;
}
}
}
```- Storage
```
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /postImages/{userId}/{allPaths=**} {
allow read, write: if request.auth != null && request.auth.uid == userId;
}
match /profileImages/{userId}/{allPaths=**} {
allow read, write: if request.auth != null && request.auth.uid == userId;
}
}
}
```## 📄 License
- This project is licensed under the [MIT License](LICENSE).