Inspiration
People would hash some message ahead of time and reveal their prediction in the future to show their prediction or show off what they know. Although this method is cool, it's hard to track their track record and people can easily delete or ignore their past predictions. My site's predictions are immutable and makes monetizing predictions much easier
What it does
Allows people to create predictions with specific timeframe and automatically reveal it when time is up. It shows all past predictions and lets people pay to see someone's prediction before the actual reveal time. A good example is someone can claim they are good at trading stocks, but they often only show the highlights. My platform lets people build history and let them monetize through early reveal of good picks through early predictions.
How we built it
React / Next.js frontend with server side rendering Flask backend CockroachDB serverless cluster
Challenges we ran into
SQL certificate and SQL injection protection React 18 hydration issue with Next.js
Accomplishments that we're proud of
Working backend that tracks information about posts, user and their paid content. It supports a few different filters such as filter by person and logged in user. Frontend application that is able to accurately and clearly display information about predictions. It has dynamic routing for specific user ID
What we learned
Building REST API with flask connected to serverless database React application with dynamic routing and server side rendering
What's next for Perfect predictions
Adding authentication in addition to just letting people put in username Payment API support Better cleaner UI and leaderboard / voting feature
Built With
- cockroachdb
- flask
- javascript
- next.js
- python
- react
- sql
Log in or sign up for Devpost to join the conversation.