This is a simple note taking application built using HTML, CSS, and JavaScript. The application uses Firebase for authentication and Firestore for storing notes.
- User can create an account
- User can login
- User can create a note
- User can view all notes
- User can update a note
- User can delete a note
- User can logout
- HTML
- CSS
- JavaScript
- Firebase
- Create a Firebase project
- Update the Firebase configuration in
firebase.js
- Enable Email/Password authentication in Firebase
- Enable Firestore database in Firebase
- Add the following rules in Firestore database
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /users/{userId} {
allow create: if request.auth != null;
allow read, write, delete: if request.auth != null && request.auth.uid == userId;
}
match /notes/{noteId} {
allow create: if request.auth != null;
allow read, write: if request.auth != null && request.auth.uid == resource.data.userId;
}
}
}