https://github.com/ahmed5827/cpu_blog
a website design for our club CPU using pure html and CSS
https://github.com/ahmed5827/cpu_blog
backend expressjs mongodb mongoose
Last synced: 3 months ago
JSON representation
a website design for our club CPU using pure html and CSS
- Host: GitHub
- URL: https://github.com/ahmed5827/cpu_blog
- Owner: Ahmed5827
- License: mit
- Created: 2024-08-18T03:26:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T20:05:43.000Z (over 1 year ago)
- Last Synced: 2025-03-28T21:22:23.872Z (over 1 year ago)
- Topics: backend, expressjs, mongodb, mongoose
- Language: JavaScript
- Homepage:
- Size: 235 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CPU_Blogs
This project represents the CPU_Blog website built using pure HTML, CSS, and Express.js for the backend.
## Features:
- **Frontend:** HTML, CSS, and JavaScript are used to create a simple layout for the CPU Club's website.
- **Backend:** The server is built using **Express.js** and serves the frontend HTML, CSS, and JS files.
- **Database Integration:** **MongoDB** is used to manage backend data for storing the club's posts in the database
## How to Run the Project:
1. **Clone the repository:**
```bash
git clone https://github.com/Ahmed5827/CPU_Blog.git
cd CPU_Blog
1. **Install dependencies:** Make sure you have Node.js and npm installed. Run the following command :
```bash
npm install
1. **start the development server:**
```bash
npm run dev
1. **Open your browser and go to:**
```bash
http://localhost:3000/login
```
- **The homepage will display the blog content, and users can log in to access more features such as posting and commenting on blogs.**
## License: MIT License
This setup is basic, but it provides a foundation for further expansion, such as adding API routes to handle data dynamically with MongoDB. You can adjust the routes and models in `server.js` to store and retrieve more data as needed.
Feel free to adjust this further depending on your project requirements!