strazdinsg / rebus Goto Github PK
View Code? Open in Web Editor NEWRebus management system, with a web-based user interface. First used in CFlow Påske Rebus 2023, organised by Inguna Strazdina.
License: MIT License
Rebus management system, with a web-based user interface. First used in CFlow Påske Rebus 2023, organised by Inguna Strazdina.
License: MIT License
As an administrator user I want to see a score select-box (dropdown) for each answer in the scoring page.
As a user, I want to be able to navigate through all the sections of the page (without authentication).
As a developer I want to see that the backend is using a domain name.
As a developer I want to see that the admin user is auto-generated, if the database does not contain any admin user.
The pin code must be randomly generated (a 6-integer-digit string).
The pin code must be printed in the console.
As a developer I want to see the backend deployed on a publicly available server, with CORS problem solved.
As a developer I want to see a minimalistic React JS project for the frontend in the folder frontend
, with a README.
As a developer I want to see that the backend is secured with HTTPS.
As a regular user I want to be able to submit an answer to the quiz:
As a developer I want to see a sketch of the whole database structure (on paper?), the entity classes implemented on the backend, and tables auto-generated.
As a user I want to be able to log in as Team 1 with pin 111111, Team 2 with pin 222222, or as an admin with pin 667667.
As a user I want to be able to log in with my PIN.
As a developer I want to see:
As a developer I want to have an API for storing images on the backend:
For all the endpoints:
As a user I want to see styled Answer-page when I click on a challenge button.
I can see the right challenge number and text on the page.
As a user I want to be taken to user page when I type in a correct user-pin, and to an admin page when I type in a correct admin-pin.
As an administrator I want to see that my score is saved when I select a score in a select-box on the scoring page.
I also want to see that the next time the score is loaded from the backend and displayed properly on the page.
As a user I want to see a list of challenges when I log in:
As an administrator I want to see total score for each team displayed in a summary column on the scoring page.
As a developer I want to see authentication and authorization in place on the backend.
/authenticate takes a json object {pin: number} and returns a JWT token, with role user for the regular user and user+admin roles for the admin.
As a developer I want to see all the necessary REST API endpoints on the backend:
✔️Public endpoints:
✔️User endpoints (teamId is received from the JWT):
✔️Admin endpoints:
As a user I want to see the Login page styled as necessary.
As a developer I want to see the LoginPage implemented using Material UI components.
As ad administrator user I want to see the scoring page after I have logged in with my PIN.
I want to see a table where the rows are the different teams and the columns are the challenges.
In each cell I want to see the answer submitted by the corresponding team.
As a frontend developer I want to see a generic API (function) for sending HTTP GET and POST requests, with data, parsing the response as JSON, specifying a callback function on success and a callback function on error.
As a user or admin I want to be able to log out by clicking on an exit icon in the app bar (or by accessing /logout link)
As a user I want to get redirected to the login page when my JWT has expired.
As an administrator I want to see that all the cookies are deleted if the JWT is expired.
As an administrator user I want to be able to see the images submitted as answers to the challenges in the admin scoring page.
As an administrator, I want to see images loaded in an effective way on my dashboard:
Implementation steps:
As a user I want to see a preview of the image I'm going to upload as an answer to a challenge.
As a developer I want to see Challenges and answers stored in Redux store instead of Context.
As a developer I want to see the main structure for the React UI - the main components, with some static data (not all the style).
As a user I want to see the image I have previously uploaded shown on the AnswerPage.
If I have no image uploaded, I don't want to see any error icon, just no image at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.