Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aadityasivas/todolist-app
https://github.com/aadityasivas/todolist-app
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aadityasivas/todolist-app
- Owner: aadityasivaS
- License: mit
- Created: 2021-04-16T04:36:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T01:56:28.000Z (over 3 years ago)
- Last Synced: 2024-11-05T11:10:26.854Z (about 2 months ago)
- Language: Dart
- Size: 1.4 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Todolist
A todolist app created with flutter and firebase.
To build this app from the source code complete the following steps:1. Get the dependencies `flutter pub get`.
2. You will see that there is only the android directory it is because I built this app for android only. If you want to do for iOS platform first run `flutter create .` in the root and see these https://firebase.flutter.dev/docs/installation/ios.
3. Add firebase to the project https://firebase.flutter.dev/docs/overview.
4. In the firebase authentication console enable email signin .
> 👆 Do not enable the passwordless signin in firebase console
5. Rename the `.env.help` file to `.env` and put your pixabay API key in that file.
6. Enable firestore in the firebase console.
7. Set this as the security rules.
```
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /users/{userId} {
allow read, update, delete: if request.auth != null && request.auth.uid == userId;
allow create: if request.auth != null;
}
match /users/{userId}/lists/{id=**} {
allow read, update, delete, create: if request.auth != null && request.auth.uid == userId;
}
match /users/{userId}/lists/{id}/tasks/{taskId=**} {
allow read, update, delete, create: if request.auth != null && request.auth.uid == userId;
}
match /users/{userId}/starred/{starredListID} {
allow read, update, delete, create: if request.auth != null && request.auth.uid == userId;
}
}
}
```