https://github.com/sandeepkumar136/node-packages-osmodule_and_myconsole
https://github.com/sandeepkumar136/node-packages-osmodule_and_myconsole
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sandeepkumar136/node-packages-osmodule_and_myconsole
- Owner: Sandeepkumar136
- Created: 2024-05-30T16:10:32.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T16:16:58.000Z (about 2 years ago)
- Last Synced: 2025-01-08T08:43:14.966Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.MD
Awesome Lists containing this project
README
# Blog for OS and MyConsole using Node.js
## Project Overview
This project is a blog application specifically designed for discussions and articles about various operating systems and the MyConsole application. It is built using Node.js and provides a platform for users to read, write, and discuss topics related to operating systems and MyConsole.
## Features
- User authentication and authorization
- Create, edit, delete, and view blog posts
- Comment on blog posts
- Like and dislike blog posts
- Search functionality
- Responsive design for both desktop and mobile devices
## Installation
Follow these steps to set up the project locally:
1. **Clone the repository**
```sh
git clone https://github.com/yourusername/blog-os-myconsole.git
cd blog-os-myconsole
```
2. **Install dependencies**
```sh
npm install
```
3. **Set up environment variables**
Create a `.env` file in the root directory and add the following environment variables:
```
PORT=3000
DB_URL=mongodb://localhost:27017/blogOSMyConsole
JWT_SECRET=your_jwt_secret
```
4. **Run the application**
```sh
npm start
```
The application will be available at `http://localhost:3000`.
## Usage
### Creating a New Post
1. Sign up or log in to your account.
2. Navigate to the "New Post" section.
3. Fill in the title, content, and tags for your post.
4. Click the "Publish" button to publish your post.
### Commenting on a Post
1. Open the post you want to comment on.
2. Scroll down to the comments section.
3. Write your comment and click the "Submit" button.
### Liking a Post
1. Open the post you want to like.
2. Click the "Like" button.
## Technologies Used
- **Node.js**: JavaScript runtime environment
design
## Contributing
1. Fork the project
2. Create your 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](LICENSE) file for details.