Skip to content

WMS-DEV/StudentStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StudentStats 🌐

What does it do? 📊

Students from any Polish university that uses USOS as their university platform can log in through USOS to view their study statistics in an appealing graphical form.

This project leverages the usos4j library for seamless integration with the USOS platform. You can learn more about the usos4j library at the usos4j GitHub repository.

Check out the deployed version here: StudentStats Live 🌐

Getting started ⚡

How to authenticate through USOS ✅

  1. POST request to /auth/request-token endpoint with universityId in JSON body (supported universities are listed at /universities)
  2. Request should return requestToken, tokenSecret, and authorizationUrl
  3. Log in through authorizationUrl, then get redirected back to the origin page with a verifier as URL query param (if there is no callback, verifier is displayed on the USOS page)
  4. POST request to /auth/access-token endpoint with requestToken, tokenSecret, verifier, and universityId in JSON body
  5. Request should return jwt
  6. Include Authorization Header with value: Bearer ${jwt} when requesting data from /getData

Postman configuration for easier debugging 🔧

You can test backend functionality with Postman using our collection, pre-configured with endpoints and environments. All you need to do is to import this folder into Postman.

Acknowledgments

Special thanks to the contributors who made this project possible.

Backend

Frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages