A basic app that lets you login, save your moods and view a history of your entries.
Technical test: Completed in 4 days
- Clone this repo
git clone https://github.com/abbasfreestyle/MoodCatcher.git
- Install the dependencies
npm install
-
Run the app
- iOS - Open XCode, then ios/MoodCatcher.xcodeproj and press play
- Android -
npm run android
Incase if the packager is not connecting with the device, you may need to start the packager manually. I only seem to be facing this with RN 0.59.
You could do either of the following:
npm start
or to clear the packager cache and start it
npm run packager:clear-cache
and then run a device build.
- Select mood (done)
- Select a list of feelings (done)
- Add optional note (done)
- Save a mood on server (done)
- Error handling (done)
- Retrieve a list of entries (done)
- View a total count of entries (done, see Readme in screens/Dashboard/Readme.md)
- View average percentage of moods recorded (done)
- View a circular chart of average mood (done)
- Staging and prod environments (project is too small)
- Git branching management (project is too small)
- Snapshot testing (done)
- Unit testing (done)
- Documentation (only essentials provided, but would have liked to cover this everywhere)
- Theming (done)
- Authentication via AWS cognito (done)
- Filter dashboard list via time (did not start)
- GraphQL via AWS (mostly done)
- Animation when selecting a mood (done)
- Custom authentication pages that matched the app theme (did not start)
- Delete Mood (did not start)
- Edit Mood (did not start)
- Pretty chart to display weekly activity (did not start)
Enjoy.