A simple note-taking application built with Node.js, Express, MongoDB, and EJS.
This application allows users to create, edit, delete, and search notes. It uses Google OAuth for authentication and stores user data in MongoDB.
- User authentication with Google OAuth
- Create, edit, and delete notes
- Search notes
- Responsive design with Bootstrap
- Multiple users
-
Clone the repository:
git clone https://github.com/kathir-78/Notes-app.git cd Notes-app -
Install dependencies:
npm install
-
Create a .env file in the root directory and add the following environment variables:
MONGODB_URI=your_mongodb_uri GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret GOOGLE_CALLBACK_URL=your_google_callback_url
-
Start the application:
npm start
- Visit
http://localhost:3000in your browser. - Sign in with your Google account.
- Create, edit, delete, and search notes.