FeedMe is a Node.js-based RESTful API project that allows users to post updates in a real-time feed. With FeedMe, users can share their thoughts, news, or updates, and others can view these posts in real-time as they are posted.
Key Features:
- Post updates with titles and content.
- View posts from other users in a dynamic and real-time feed.
- Seamless integration of WebSockets for instant updates.
- Simple and intuitive API endpoints for easy interaction.
- FeedMe is designed for simplicity and real-time communication, making it perfect for building social platforms, news feeds, or collaborative applications.
Before you begin, ensure you have the following prerequisites installed:
Node.js: Download and install Node.js
- Clone the repository.
- Run
npm install
to install dependencies. - Create
.env
file in root directory and add your MongoDB URI, JWT Secret Key.
To start the RESTful API server, follow these steps:
-
Open your terminal or command prompt.
-
Navigate to the root directory of your Node.js project where the
app.js
or main server file is located:cd /path/to/your/node/project
-
Run the following command to start the server:
npm start
-
The server will be accessible at http://localhost:your-port in your web browser or through API client tools. Replace your-port with the port number you've configured in your project (e.g., 3000).
-
You can now use API client tools (e.g., Postman, curl) or make HTTP requests from your applications to interact with the API Endpoints.
Example: To create a new post, you can make a POST request to http://localhost:your-port/feed/post (replace your-port with the actual port number).
Please read our Contribution Guidelines to learn how to contribute to this project.
We expect all contributors to adhere to our Code of Conduct to ensure a welcoming and inclusive community.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions, suggestions, or need assistance, feel free to reach out:
- Name: Tanuj Chakraborty
- Email: [email protected]
- GitHub: github.com/i-am-tj
- LinkedIn: linkedin.com/in/i-am-tj