0.2.0-alpha
Pre-releasePrediction Polls 0.2.0-alpha release
In this release, we implemented basic poll management. Polls can be created. Polls can be viewed through the feed. Profile are implemented. Users can sign in and upload profile pictures. Opened polls are tagged automatically if they are recognized by the system. This release serves as a step to lay out the base for the finished product. Basic feature of the product is done, navigation and sign in functionalities are done.
Frontend
Changelog
- Vote Poll Backend Integration added
- Create Poll Backend Integration added
- Point Backend Integration added
- Profile and Edit Profile Backend Integration added
- Feed Backend Integration added
- Search Bar UI added
Flaws
- Moderation Page UI is not implemented
Local Execution
1- Cd to prediction-polls/frontend
2- Run "npm i"
3- Create .env file under frontend folder and fill .env file with given env file content
4- Run "npm run start"
Deployment
1- Cd to prediction-polls/frontend
2- Make sure docker daemon is running
3- Create .env file under frontend folder and fill .env file with given env file content
4- Run "docker-build -t my_image" to create an image with name my_image
5- Run "docker run my_image" to start image
Backend
Changelog
- We have finalized google auth implemented creating, seeing and voting discrete and continuous polls endpoints.
- Image upload and view
- Mock badges.
- Point system and poll closing is implemented
- Profile maintenance, viewing and update of profiles.
- Poll closing and point
- Improved error management
- Email verification
- Auth validation
- Automatic Poll tagging
- Poll service tests
- Profile service tests
- Authorization service tests
Flaws
- More exhaustive tests can be written
Local Execution
1- Cd to prediction-polls/backend
2- Run "npm i"
3- Create .env file under backend folder and fill .env file with given env file content
4- Run "npm run devStart"
5- For test run "npm test"
Deployment
1- Cd to prediction-polls/backend
2- Make sure docker daemon is running
3- Create .env file under backend folder and fill .env file with given env file content
4- Run "docker-build -t my_image" to create an image with name my_image
5- Run "docker run my_image" to start image
Mobile
Changelog
- Profile page
- Feed page
- Create poll page
- Leaderboard ui with mock data
- Auth page validation
- Google sign in
- Bug fixes (auth middleware fix, some crashes)
- App bar
- Drawer integration
- DateTime (ISO8601) format support
Flaws:
- Poll UI should be improved
- Poll buttons' actions should be implemented.
- Profile page is not completed we don't support some features like edit profile or badges.
- Leaderboard ui will be improved when we connect it to the backend.
- Drawer and main app looks differrent we may adjust their colors.
- Test coverage should be increased.
Local execution
1- Change directory to prediction-polls/android
2- Open the directory with IDE (Android studio recommended since you also need sdk for local execution).
2- There is local.properties file (env file for the android apps) copy the env variables to the bottom of the file. Don't forget that this file should also include sdk directory but since it is user specific you should handle that. (Android studio handles this).
3- You should sync gradle. You can find the option from the bar in android studio. (Install dependencies)
4- Then you can run the app with run button. You may need to specify config for running but since the project have one app you can choose the default config.
Deployment
Since we are not publishing our app in platform, we are providing the apk for customer to test. You can find the apk in the attachment.