This is a simple Express.js application that demonstrates basic routing and middleware usage.
- Clone the repository:
git clone https://github.com/your-username/expressjs.git
- Navigate to the project directory:
cd expressjs
- Install dependencies:
npm install
- Start the server:
npm start
- Open your browser and visit
http://localhost:3000
- You should see the message "Hello, Express!"
/
- Home route that displays a welcome message./about
- About route that displays information about the application.
logger
- Logs the request method and URL to the console.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.