Skip to content

sameerkali/DAILY_DIARY

Repository files navigation

Daily Diary App

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.

Features

  • 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

Installation

  1. Clone the repository: git clone https://github.com/your-username/daily-diary.git

  2. Navigate to the project directory: cd daily-diary

  3. Install the dependencies: npm install

  4. Configure the application:

  • Rename the .env.example file to .env.
  • Update the .env file with your MongoDB connection URI and any other necessary configurations.
  1. Start the application: npm start

  2. Access the application in your browser at http://localhost:3000.

Requirements

  • Node.js (v12 or above)
  • MongoDB

Dependencies

  • 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

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.