ConnectDevs is a platform for developers to connect, collaborate, and grow their professional network. The project provides features like authentication, profile management, sending and receiving connection requests, and more. It is built using Node.js, Express.js, MongoDB, and RESTful APIs.
- User Authentication: Secure login and registration using JSON Web Tokens (JWT).
- Profile Management: Users can edit and update their profiles.
- Connections: Send and manage connection requests with other developers.
- RESTful APIs: Backend follows RESTful principles for managing resources.
- Database: MongoDB for storing user data, connection requests, and profiles.
- Node.js: Runtime environment for executing JavaScript on the server.
- Express.js: Web framework for building RESTful APIs.
- MongoDB: NoSQL database for scalable data storage.
- Mongoose: ODM for MongoDB.
- JSON Web Token (JWT): Token-based authentication for securing routes.
-
Clone the Repository:
git clone https://github.com/your-username/ConnectDevs.git
-
Install Dependencies: npm install
-
Environment Variables: Create a .env file in the root directory and add the following variables:
MONGODB_URL=mongodb+srv://:@cluster.mongodb.net/?retryWrites=true&w=majority
- npm start
- localhost:3001/signup
- localhost:3001/login
- localhost:3001/logout
- localhost:3001/profile/view
- localhost:3001/user/connections
- localhost:3001/feed
- localhost:3001/user/requests/received
- localhost:3001/profile/edit
- /request/send/:status/:touserId
- /request/review/:status/:requestId