Skip to content

GhostMods00/NetcoreAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

Netcore API 🚀

License: MIT Node.js Express MongoDB GitHub issues

Description 📝

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.

Features ✨

  • 👤 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

Tech Stack 💻

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JavaScript

Demo Video

https://drive.google.com/file/d/1B642arPgzrXz21Bi0gi2QKV4I6Wi0DBe/view

Installation Steps 🛠️

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • npm (Node Package Manager)
  • Insomnia or Postman for testing

Step 1: Clone & Install

# Clone the repository
git clone https://github.com/yourusername/netcore-api.git

# Navigate to project directory
cd netcore-api

# Install dependencies
npm install

Step 2: Configure MongoDB

  • Start MongoDB Service
  • The application will connect to:
mongodb://localhost:27017

Usage 🔨

After starting the server, use an API testing tool like Insomnia or Postman to test the endpoints.

Base URL: http://localhost:3001/api

Example Requests:

// 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"
}

👥 Contributing

Contributions are welcome! Here's how you can help:

  1. 🍴 Fork the repository
  2. 🌱 Create a feature branch (git checkout -b feature/AmazingFeature)
  3. 💫 Commit your changes (git commit -m 'Add some AmazingFeature')
  4. 🚀 Push to the branch (git push origin feature/AmazingFeature)
  5. 🔍 Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📫 Contact

Let's connect! Reach out to me through:


Made with ❤️ by Waleed Zaryab | © 2025 All Rights Reserved ✨

About

Netcore API is a Social network API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published