Our Web App, StatMates, can provide easy-to-read sports-related information to users based on professional league queries written in the natural language. Users register to use the site and can add friends to see their saved queries.
Follow the following steps in order:
git clone https://github.com/software-students-spring2024/5-final-project-spring-2024-finalfive
MONGO_URI
You can create a .env file in the root directory and for local db storage you can set that variable to the following values: mongodb://127.0.0.1:27017/ or mongodb://localhost:27017/
In order run the following in project directory:
docker-compose build
docker-compose up
Finally, you can access our site on your local device through following link:
https://hub.docker.com/r/jladrover/league_query
- Register/Login: To access features, you must have an account. Click "Register" to create an account or "Login" if you already have one.
- Account Creation: Fill in your username and password on the registration page. Ensure your username matches your personal preference as it will be your permanent identifier.
- Navigation: You can visit your profile from here or select a professional sports league to query.
- Profile: Your profile shares your name, username, queries, and friends.
- Add friends: You can add friends from this page, and your saved queries are visible to those who add you.
- Queries: When you click on a sports league on the home page, you are directed here.
- Save: You can then save a valid query to your profile, which would store the league, query, and result.
- Note: Invalid queries, where the api fails to get an answer for the query, are not able to be saved to a user profile.
- Adding: Click on the add friend option in the profile page and type in a valid username.
- Viewing: This person will now be added as a friend to your account and click on their name on the profile page to view their queries!
Jean Luis Adrover: https://github.com/jladrover
Denzel Prudent: https://github.com/denprud
Sang In Kang: https://github.com/sik247
Rakshit Sridhar: https://github.com/RakSridhar23