A React, Material UI front-end for a coding kata SaaS. The backend Java/Spring Boot repo can be found here: https://github.com/RichardSneyd/coding-kata-platform-backend
If you provide a valid Jwt token, it should return a JSON object in this format. sub means subject, and is the username of the User in the db. The userId prop can be used with subsequent API calls for the user:
{
"sub": "fakestudent",
"roles": ["USER"],
"iss": "http://localhost:8080/login",
"exp": 1667581703,
"userId": 2
}- Node (17.4.0)
- NPM (8.3.1)
These versions are recommended but not obligitory, but should you have problems running the application you should ensure your versions match these.
- Clone this repository to your local machine.
- Get the appropiate server URL (You must have cloned the code-lms backend, or have a live version of it)
- Run
cp .env.example .envand fill in the appropiate server URL - Run
npm installto install the dependencies - Run
npm startto run the application in development - Run
npm run buildto build the application
