# Express Application
This is an Express application designed for user registration, login, and managing blog content. It provides routes for registration, login, and blog management.
## Prerequisites
Before you get started, ensure you have the following dependencies installed:
- Node.js
- npm (Node Package Manager)
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/abdomallouk/blogSite.git
-
Navigate to the project directory:
cd express-application
-
Install the required Node.js packages:
npm install
This Express application is used for user registration, login, and managing blog content. Here's how to run the application:
-
Start the application:
npm start
-
Access the application in your web browser:
- Registration:
http://localhost:5500/register
- Login:
http://localhost:5500/login
- Blog Management:
http://localhost:5500/blogs
- Registration:
/register
: User registration./login
: User login./blogs
: Blog management.
Routes/
: Contains route handlers for user registration, login, and blog management.public/
: Static files such as CSS, JavaScript, and images.uploads/
: For storing uploaded files.views/
: EJS templates for rendering web pages.
Contributions to this project are welcome! To contribute:
- Fork the repository.
- Create a new branch.
- Commit your changes.
- Push to the branch.
- Create a pull request.
Please ensure that your changes follow the existing code style and pass any existing tests.