A modern, feature-rich social network application built with React and Parse Server (Back4App). This project provides a complete foundation for building your own social networking platform.
- Authentication: Sign up, login, and password reset functionality
- User Profiles: Customizable profiles with avatars and bio information
- Follow System: Follow/unfollow other users
- Feed: Personalized feed showing posts from followed users
- Posts: Create text posts with optional image attachments
- Comments: Comment on posts
- Likes: Like posts and comments
- Real-time Chat: Direct messaging between users
- Conversation Management: Start new conversations and view message history
- Typing Indicators: See when someone is typing
- User Search: Find other users by username
- Content Search: Search for posts by content
username: String (unique)email: String (unique)password: String (encrypted)avatar: File (optional)bio: String (optional)followers: Relation to Userfollowing: Relation to User
author: Pointer to Usercontent: Stringimage: File (optional)likes: NumbercreatedAt: Date
post: Pointer to Postauthor: Pointer to Usercontent: StringcreatedAt: Date
participants: Array of Pointers to UserlastMessage: StringupdatedAt: Date
conversation: Pointer to Conversationsender: Pointer to Usertext: StringcreatedAt: Date
- A Back4App account (https://back4app.com)
- Node.js and npm installed
- Create a new app on Back4App
- Navigate to "Server Settings" > "Parse Server"
- Note your Application ID and JavaScript Key
- Enable Live Query for the Message class to support real-time chat
- In Back4App, go to "Dashboard" > "Database Browser"
- Create the following classes with the schema described above:
- User (already exists by default)
- Post
- Comment
- Conversation
- Message
- Set up appropriate ACLs for each class
-
Clone the repository:
git clone https://github.com/yourusername/social-network-starter.git cd social-network-starter -
Install dependencies:
npm install -
Create a
.env.localfile in the root directory with your Back4App credentials:REACT_APP_PARSE_APPLICATION_ID=your_application_id REACT_APP_PARSE_JAVASCRIPT_KEY=your_javascript_key REACT_APP_PARSE_SERVER_URL=https://parseapi.back4app.com REACT_APP_PARSE_LIVE_QUERY_URL=wss://your-app-id.back4app.io
-
Start the development server:
npm start -
Open your browser and navigate to
http://localhost:3000
-
Build the production version:
npm run build -
Deploy the contents of the
buildfolder to your hosting provider of choice (Netlify, Vercel, GitHub Pages, etc.)
The project uses Chakra UI for styling. You can customize the theme in src/theme.js.
The modular structure makes it easy to add new features:
- Create new components in the
componentsdirectory - Add new pages in the
pagesdirectory - Update routes in
App.js
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.




