This is a web application called "Daily Diary" that allows users to write and manage their daily diary entries. It is built using Node.js, MongoDB, Express.js, EJS, and Lodash.
- User registration and authentication
- Create, read, update, and delete diary entries
- Diary entries are stored in a MongoDB database
- User-friendly interface with EJS templates
- Efficient data manipulation using Lodash library
-
Clone the repository:
git clone https://github.com/your-username/daily-diary.git -
Navigate to the project directory:
cd daily-diary -
Install the dependencies:
npm install -
Configure the application:
- Rename the
.env.examplefile to.env. - Update the
.envfile with your MongoDB connection URI and any other necessary configurations.
-
Start the application:
npm start -
Access the application in your browser at
http://localhost:3000.
- Node.js (v12 or above)
- MongoDB
- express: Fast, unopinionated, minimalist web framework for Node.js
- mongoose: MongoDB object modeling for Node.js
- ejs: Embedded JavaScript templates
- lodash: A utility library delivering consistency, modularity, and performance
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.