Skip to content

About

A full-stack social media application built with React Native, Node.js, Express, and MongoDB.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

📱 MySocialApp

A full-stack social media application built with React Native, Node.js, Express, and MongoDB. The project demonstrates authentication, state management, push notifications, and scalable mobile application architecture.

Status: 🚧 Under Development


📸 Overview

MySocialApp is a modern social networking application where users can create an account, authenticate securely, connect with other users, and interact through posts.

The primary goal of this project is to practice production-level React Native development while implementing a scalable backend architecture.


✨ Features

Authentication

  • Email Authentication
  • Google Sign-In
  • Firebase Authentication
  • JWT Authentication
  • Secure Login & Logout
  • Persistent User Session

User Features

  • User Profile
  • Edit Profile
  • Upload Profile Picture
  • Timeline Feed
  • Create Posts
  • Like & Comment (In Progress)
  • Follow / Unfollow (Planned)

Notifications

  • Firebase Cloud Messaging (FCM)
  • Push Notifications

Storage

  • Secure local storage using MMKV

UI

  • Material Design (React Native Paper)
  • Bottom Navigation
  • Native Stack Navigation
  • Blur Effects
  • Linear Gradients
  • Splash Screen

🛠 Tech Stack

Mobile

  • React Native 0.72
  • React 18
  • Redux Toolkit
  • React Navigation
  • Firebase
  • Google Sign-In
  • MMKV Storage
  • React Native Paper
  • React Native Vector Icons

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JWT Authentication
  • Firebase Admin SDK
  • Nodemailer
  • Multer

📂 Project Structure

MySocialApp
│
├── mobile/
│   ├── src/
│   │   ├── components/
│   │   ├── screens/
│   │   ├── navigation/
│   │   ├── redux/
│   │   ├── services/
│   │   ├── utils/
│   │   └── assets/
│   │
│   └── App.js
│
├── backend/
│   ├── controllers/
│   ├── middleware/
│   ├── models/
│   ├── routes/
│   ├── config/
│   ├── utils/
│   └── server.js
│
└── README.md

🚀 Getting Started

Clone Repository

git clone https://github.com/rahultripathi-dev/MySocialApp.git

📱 Mobile Setup

Install dependencies

npm install

Run Android

npm run android

Run iOS

npm run ios

Start Metro

npm start

🌐 Backend Setup

Navigate to backend

cd backend

Install packages

npm install

Start server

npm start

🔐 Environment Variables

Create a .env file inside the backend.

Example:

PORT=5000

MONGO_URI=your_mongodb_connection

JWT_SECRET=your_secret_key

EMAIL=your_email

PASSWORD=your_email_password

GOOGLE_CLIENT_ID=your_google_client_id

FIREBASE_PROJECT_ID=your_project_id

Never commit your .env file or Firebase service account credentials to GitHub.


📦 Major Libraries Used

Mobile

  • React Native
  • Redux Toolkit
  • React Navigation
  • Firebase
  • Google Sign-In
  • React Native Paper
  • MMKV Storage
  • React Native Vector Icons
  • React Native Linear Gradient

Backend

  • Express
  • MongoDB
  • Mongoose
  • JWT
  • Firebase Admin
  • Nodemailer
  • Multer
  • Bcrypt

🧠 Learning Objectives

This project helped me understand:

  • Mobile application architecture
  • Authentication flows
  • JWT-based authorization
  • Firebase integration
  • Google OAuth
  • Redux Toolkit
  • REST API development
  • MongoDB schema design
  • State management
  • Push notifications
  • Secure storage
  • Production project structure

🚧 Roadmap

  • User Search
  • Stories
  • Comments
  • Likes
  • Follow / Unfollow
  • Chat
  • Image Upload
  • Video Upload
  • Dark Mode
  • Realtime Notifications
  • Realtime Messaging
  • Offline Support
  • Pagination
  • Infinite Scroll
  • Profile Verification

📈 Future Improvements

  • TypeScript Migration
  • Unit Testing
  • CI/CD Pipeline
  • Docker Support
  • API Documentation
  • Performance Optimization
  • End-to-End Testing
  • App Store & Play Store Deployment

👨‍💻 Author

Rahul Tripathi


⭐ Support

If you found this project helpful, consider giving it a ⭐ on GitHub.

About

A full-stack social media application built with React Native, Node.js, Express, and MongoDB.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages