The key objective for this web app is to centralize compat sports content while maintaining aesthetics and simple navigation. More exciting features will be considered in the future. Please feel free to contribute!
- Register for an account at https://auth0.com/signup
- Create a new application of type "Regular Web Applications"
- Choose Next.js integration
- Follow the quickstart instructions for integrating with Auth0
-
Create a MongoDB Atlas account at https://www.mongodb.com
-
Create a project named "scraphouse"
-
Create a cluster named "scraphouse"
-
Create a database named "scraphouse"
-
Copy URI connection string by navigating to Databases > Connect > Drivers
-
Copy and paste the connection string into the relevant field in the provided .env file
Calling the routes located in app/api/ufc should automatically add the collections to the DB. If not the case, add three collections to the "scraphouse" DB:
- ufcfighters
- ufcrankings
- ufcschedules
SportRadar: https://console.sportradar.com/
-
Add a trial
-
Choose MMA API
-
Copy API key and add to .env.local
When 30 day trial expires, the data stored in the database will be used instead. If updated data is needed, reregister with different email and replace the existing API key.
NewsAPI: https://newsapi.org/
- Register and follow instruction to get key
-
Rankings
- UFC ✅
- PFL
- ONE FC
-
News
- Listings ✅
- Articles ✅
- Sharing
-
Fighters
- Profiles
- Stats
-
Schedule
- Alerts
- Event listings