CoderGram: An Instagram-like Platform for Coders A full-stack social media website and mobile app tailored specifically for the coding community.
By :- Devaansh Kathuria
College enrollment Id - 2024-B-02032007
While platforms like Instagram excel at general social connection, they lack the features and community focus that would benefit coders. Similarly, code-centric platforms like GitHub prioritize collaboration over social interaction and sharing of personal experiences. There is a clear need for a platform that combines the social aspects of Instagram with a community and features designed for coders.
CoderGram is a full-stack social media platform, available as both a website and a mobile app (iOS and Android), that allows coders to connect, share their work, and showcase their skills. Users can post pictures of their coding setups, share project updates, and engage with a community of like-minded individuals.
- Secure User Authentication: Users can securely register and log in to the platform.
- Personalized Social Feed: A dynamic feed displays posts from the users you follow.
- Customizable User Profiles: Each user gets a profile page to showcase their projects, skills, and personal information.
- Post Creation & Management: Users can create and upload posts with images and descriptions.
- Following System: A simple and intuitive system to follow other coders.
- Interactive Engagement: Users can like and comment on posts.
- Coders & Developers: Professionals who want to share their journey and connect with others.
- Students: Computer science students looking to build a network and get inspiration.
- Tech Enthusiasts: Anyone passionate about technology and coding.
| Component | Technologies |
|---|---|
| Frontend (Web) | React |
| Frontend (Mobile) | React Native |
| Backend | Node.js, Express.js |
| Database | MongoDB |
The final product will be a fully functional, Instagram-like social media platform specifically for coders. It will consist of a responsive website and a seamless mobile app, providing a centralized hub for coders to share their passion, build a strong community, and showcase their skills.
- Navigate to the backend directory:
cd CoderGram-Backend - Install dependencies:
npm install
- Set up environment variables:
- Create a
.envfile in theCoderGram-Backenddirectory. - Add the following variables:
MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key PORT=8000
- Create a
- Run the backend server:
The backend will run on
node index.js
http://localhost:8000
- Navigate to the frontend directory:
cd CoderGram-FrontEnd - Install dependencies:
npm install
- Start the Expo development server:
npm start
- Run on device/emulator:
- Press
ifor iOS simulator - Press
afor Android emulator - Scan QR code with Expo Go app on your physical device
- Press
POST /api/auth/register- Register a new userPOST /api/auth/login- Login user
GET /api/users/me- Get current user profileGET /api/users/:username- Get user profile by usernameGET /api/users/search?query=- Search usersPUT /api/users/follow/:id- Follow a userPUT /api/users/unfollow/:id- Unfollow a user
GET /api/posts- Get all posts (feed)GET /api/posts/:id- Get single postPOST /api/posts- Create a new postPUT /api/posts/:id/like- Toggle like on a post
GET /api/comments/post/:postId- Get comments for a postPOST /api/comments- Create a commentDELETE /api/comments/:id- Delete a comment
✅ Material Design UI - Built with React Native Paper
✅ Like System - Toggle likes on posts with real-time updates
✅ Comment System - Full CRUD operations for comments
✅ User Search - Discover users with search functionality
✅ Code Sharing - Post code snippets with syntax highlighting
✅ User Profiles - View user stats and posts
✅ Bottom Tab Navigation - Easy navigation between Feed, Search, Create, and Profile
✅ Snackbar Notifications - Non-intrusive error and success messages
✅ Loading States - ActivityIndicator for all async operations
✅ Empty States - User-friendly messages when no data is available
✅ Secure Authentication - JWT-based authentication with AsyncStorage