A simple and intuitive notes app for Android built with Kotlin. This application leverages Firestore as its database to perform CRUD (Create, Read, Update, Delete) operations on notes.
- Create Notes: Easily add new notes with titles and content.
- Read Notes: View a list of all notes with their titles and content.
- Update Notes: Edit existing notes to update their titles and content.
- Delete Notes: Remove notes from the list.
-
Kotlin: Primary language for Android development.
-
Firestore: NoSQL cloud database from Firebase for storing and syncing notes.
-
Android SDK: Core framework for building Android applications.
- Android Studio: Ensure you have Android Studio installed on your machine.
- Firebase Account: Create a Firebase account if you don’t have one and set up a new project.
-
Clone the Repository
git clone https://github.com/kepelivi/notes-app.git cd notes-app -
Open the Project
Open the project in Android Studio by selecting
File > Openand navigating to the project directory. -
Configure Firebase
- Go to the Firebase Console.
- Create a new project or use an existing one.
- Add your Android app to the Firebase project and follow the setup instructions.
- Download the
google-services.jsonfile and place it in theappdirectory of your project.
-
Add Firebase Dependencies
Ensure the following dependencies are added to your
build.gradlefiles:Project-level
build.gradle:classpath 'com.google.gms:google-services:4.3.15' // Check for the latest version
App-level
build.gradle:implementation 'com.google.firebase:firebase-firestore-ktx:24.8.1' // Check for the latest version apply plugin: 'com.google.gms.google-services'
-
Sync Project
Click
Sync Nowin Android Studio to synchronize your project with the Firebase services. -
Run the Application
Connect an Android device or use an emulator, then run the application from Android Studio by clicking the
Runbutton.