Netcore API is a social network API built with Express.js and MongoDB. This RESTful API provides core functionality for social networking features including user management, friend connections, thoughts sharing, and reactions.
- 👤 User Management: Create, update, and delete user profiles
- 🤝 Friend System: Add and remove friends
- 💭 Thoughts: Share and manage thoughts
- 🔄 Reactions: React to friends' thoughts
- 📱 RESTful API: Full CRUD operations
- 🎯 MongoDB Integration: Efficient NoSQL database management
https://drive.google.com/file/d/1B642arPgzrXz21Bi0gi2QKV4I6Wi0DBe/view
- Node.js (v14 or higher)
- MongoDB
- npm (Node Package Manager)
- Insomnia or Postman for testing
# Clone the repository
git clone https://github.com/yourusername/netcore-api.git
# Navigate to project directory
cd netcore-api
# Install dependencies
npm install
- Start MongoDB Service
- The application will connect to:
mongodb://localhost:27017
After starting the server, use an API testing tool like Insomnia or Postman to test the endpoints.
Base URL: http://localhost:3001/api
// Create a user
POST /api/users
{
"username": "johndoe",
"email": "[email protected]"
}
// Create a thought
POST /api/thoughts
{
"thoughtText": "Here's a cool thought...",
"username": "johndoe",
"userId": "userId"
}
Contributions are welcome! Here's how you can help:
- 🍴 Fork the repository
- 🌱 Create a feature branch (
git checkout -b feature/AmazingFeature
) - 💫 Commit your changes (
git commit -m 'Add some AmazingFeature'
) - 🚀 Push to the branch (
git push origin feature/AmazingFeature
) - 🔍 Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Let's connect! Reach out to me through:
- 🌐 Portfolio: www.waleedzaryab.com
- 🐱 GitHub: https://github.com/GhostMods00
- 📧 Email: [email protected]
Made with ❤️ by Waleed Zaryab | © 2025 All Rights Reserved ✨