ArtTime
This is a tool for artists to have a simple and fast art challenges check.
Links
Plan (What to expect from this project):
- Android app
- Scrollable calendar of uploaded challenges
- Detailed descriptions of challenges
- Page for adding challenges
- Server
Further Development:
- Tagged challenges
- Lists of favourites
- Notifications
- Users' intercommunication (?)
- Personal calendars
- Server HTTPS and better Authorization
- Persistent storage on server side (currently if server is stopped all data will be lost)
How to start
Prerequisites
- Rust installed (tested with
rustc
1.54.0) - Flutter and Android dev tools installed (tested with 2.5.1)
- Dart is installed (tested with 2.14.2)
- You have an Android phone
- Android phone is connected to the development laptop
- USB debugging is enabled on phone
- You have approved connection to this laptop for development
Starting
Start server:
cd arttime_server
cargo run
Find out the IP of the machine on which you will be starting the server.
Update ./arttime/lib/api.dart
address
constant to match your machine's IP.
Important: for the local setup ensure both your phone and laptop are connected to the same wifi local network.
Start android app:
From IDE:
- Open android app either from Android Studio or VS Code (appropriate Flutter plugins need to be installed)
- VS Code: Click
Run
on top ofmain
function - Android Studio: Click green arrow button
From console:
flutter run lib/main.dart
Run tests
Rust:
cd arttime_server
cargo test
Flutter/Dart:
cd arttime
flutter test -r expanded