spydx / dat251gr9 Goto Github PK
View Code? Open in Web Editor NEWGruppe prosjekt for DAT251 Gruppe 9 V2021
Home Page: dat251gr9-git-main-spydx.vercel.app
Gruppe prosjekt for DAT251 Gruppe 9 V2021
Home Page: dat251gr9-git-main-spydx.vercel.app
Userstory
As a runner i should be able to see which competitions that are open because as a runner I would like to compete.
Describe the solution you'd like
A list of all the competitions so i can choose a competition to join.
Additional context
Is your feature request related to a problem? Please describe.
no
This issue tracks work on what used to be only CI/CD for sprint 3.
Subtasks
Ticket: #10
Time estimate: 4h
Topics
Setting up CI/CD Chain
Describe the solution you'd like
Foreach branch we need a build task that publishes the artefacts to out dev environments.
We also need one for publishing to the Production environment.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
For example, all blank fields are allowed, creating a user account with all blank info
Topics
Test and verify domain model is fitting for our needs.
Describe the solution you'd like
See assignment 2 Part 2 for more information about this task.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
As db.kondis.no if they would be able to share their data with us for this project.
Describe the solution you'd like
Get consent from kondis.no if possible and acquire data (if possible) from db.kondis.no
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Userstory
Som arrangør trenger vi en måte å promotere løp slik at vi får flere løpere og slipper å bruke så mye resurser / penger på å nå aktuelle løpere.
Describe the solution you'd like
Anbefale løpet/ene for aktuelle løpere i området.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Topics
Describe
Describe the solution you'd like
Have a clear procedure for how to promote from staging to production. THE BUTTON!
When developing locally, teams will mainly be working either on the back end or the front end.
Acceptance Criteria
Describe the solution you'd like
Implement connection between frontend and backend to display list of event data.
Describe the solution you'd like
a controller responsible for event information endpoints
Topics
Integration tests for Frontend and Backend
Describe the solution you'd like
When we are pushing code to the repository, the integration test should be running on the build environment.
Is your feature request related to a problem? Please describe.
We currently have some unit tests for the different parts (tiers) of the application. However, these are mainly testing smaller units of the application. Testing the application as a whole, either api + DB or api + front end + DB requires a different approach. All we know at the moment is that the tests should run on a deployed instance of the application.
Maybe a source: Chapter 2 in this book: https://drive.google.com/file/d/15j7lcIGLcJYEp96ytl9CX-iFVVir-DXL/view?usp=sharing
Ticket: #10
Estimated time: 1h
Topics
Design the architect drawing for the system
Describe the solution you'd like
A design of the architecture of the system using Draw.io.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
Event presentation
Describe the solution you'd like
When you view the list of events (searched or not),
the user should be able to select "Go to details button" and view the details of the event / race.
Here the user is presented with all the details of the race and a back button, taking you back to the search result/frontpage.
"Go to details button/ back button" : should be a good and intuitive way for the user to navigate from the list to the details page / and back.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
Exposed password hash
Describe the solution you'd like
When a user runs HTTP GET /accounts/{id} his account password hash should not be sendt to the user.
> curl -X GET "http://localhost:8080/api/accounts" -H "accept: application/json" -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlM2ZmOWNlMS1iOTM0LTQ0MjYtYTYxMy1mNWYwZmEzNGNkZTgiLCJpYXQiOjE2MTcxMzI2MDMsImV4cCI6MTYxNzczNzQwM30.2ZdKNqvGahbVCSW_tlU6a2KxCqittKUEQCnrEeCuPhidHd7Z7BHkFgBReqRpyp2efznFt9pmSQL_uOhgwuvyJw"
[{"id":"e3ff9ce1-b934-4426-a613-f5f0fa34cde8","email":"[email protected]","password":"$e0801$mZiEWAjWO2e8GCgsomb3hxrKOmZ5eHkoBqJhHIg0SV5sCyGU4X9hVLjiqs6nAKrjQwAh007FNwZ3u636ijaekw==$nmfbR8aQnAvUWAftF99HM4CfKFkuZl26p3ErFq2wG3s=","roles":[{"id":1,"role":"USER"}],"profile":{"id":"81cb25d6-baff-4e8f-bc6f-91fc5122664c","firstname":"Lop","lastname":"Admin","birthdate":null,"address":null,"city":null}}]%
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Userstory
Som erfaren løper trenger eg å kunne lagre søk på løp for dette gir en god oversikt over løp som løperen er interessert i.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Topics
CORS on all request from Frontend to backend.
e.g:
GET https://lop-backend.herokuapp.com/api/events/ net::ERR_FAILED
We need to fix all the requests from the frontend to backend so that they
do not get denied with CORS blocking in prod env.
axios plugin has to be configured to send proper requests.
Check : https://dat251gr9-git-frontend-spydx.vercel.app/events
Pull request: #69
Userstory
Som arrangør trenger vi å vise kvaliteten til løpet slik at flere løpere velger å løpe dette løpet.
Describe the solution you'd like
Trenger å vise hvilke profilerte løpere som skal delta og hvor mange som skal løpe løpet.
Additional context
Kvalitet på løp er “målt” gjennom hvem (profilerte løpere) som deltar i løpet.Rate løp, legge kommentar som feedback på løpet.Vise noen toppløpere som er med på løpet. Løper bestemmer selv om dette er greit å bruke for promotering.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Ticket #10
Time estimate: 4h
Topics
Dockerfiles for Frontend / Backend
and a working Docker-Compose.yml
Describe the solution you'd like
A clear and concise description of what you want to happen.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Userstory
Som en løper trenger eg en måte å se hva André har meldt seg på / deltar på for
dette motiverer meg til å melde meg på løp.
Describe the solution you'd like
En måte å se hva andre har meldt seg på/har deltatt på
Additional context
Interessen for å delta i et spesifikt løp kan være avhengig om andre personer deltar i det løpet.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Acceptance Criteria
Topics
Bestemme tech stack for prosjektet
Frontend
DB
Backend
Arkitektur
Describe the solution you'd like
A clear and concise description of what you want to happen.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
A locations entity connected to the event entity in backend
Describe the solution you'd like
a controller service used by the event controller
Topics
Enable Swagger UI for the Backend
Describe the solution you'd like
Create a config for the SwaggerUI, and verify that the Swagger UI is working for the REST API.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
CI/CD
Describe the solution you'd like
Where and how to deploy each tier of the application. How many environments are needed? Can the database be shared between two environments?
Is your feature request related to a problem? Please describe.
CI/CD
Acceptance criteria
It should be possible to deploy the application to the production environment with a simple action, e.g. with at the push of a button.
Topics
An entity with contacts information for a event connected to both organizer #58 and Event
Describe the solution you'd like
A clear and concise description of what you want to happen.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
Search result.
Describe the solution you'd like
When a user is using the search options in our frontend, it should be able to select all the parameters a race has to search for a race fitting the users requested criteria. The backend should return a list for this user query.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
Integration tests
Describe the solution you'd like
Automatic tests for the application in the staging environment before promotion to production.
Userstory
Som arrangør trenger eg en enkel og god måte å arrangere et eller flere løp flere ganger for dette sparer oss for tid og krefter.
Describe the solution you'd like
Dette er for å minske det administrative arbeidet, dette løpet går hvert år, [checkmark].
Og lignende features som gjør det effektivt å arrangere.
Additional context
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Topics
Implement the security policy for the API,
Describe the solution you'd like
Should implement a security policy that has Bearer tokens to access all resources.
There should be test checking that the token is generated
There should be test for access to a resource after authenticating.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Kollektivt kodeeierskap innebærer at vi ikke har "min kode" og "din kode", men at alle kan gjøre endringer alle steder i koden. Jeg tenker at vi burde utvide dette til å ikke bare omhandle koden, men at vi kan oppnå et kollektivt eierskap av hele prosjektet. Dette vil gjøre at det er mye mindre friksjon for å få ting gjort.
En liste av ting jeg kommer på:
Noe annet?
Topics
Search bar for Events
Describe the solution you'd like
A user should be able to access the main page and be presented with a search bar that queries the backend for a fitting result based on the user input.
Search parameters: all race properties, dates of events, name of events
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Ticket #10
Time estimate: 3h
Topics
Create React project for FrontEnd
import all known base dependencies (e.g Bootstrap)
Find a good test library for React Frontend.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Topics
Set up GitHub Actions
Describe the solution you'd like
A clear and concise description of what you want to happen.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Userstory
Som en helt ny løper trenger jeg en måte å finne gode anbefalte løp slik at jeg kan komme i gang med løpekonkurranser.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Mulighet for å søke på løp basert på
Additional context
Nye løpere har ingen erfaring med tidligere løp så de vet ikke hva som er omtalt som "gode" løp.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Mulighet for å søke på løp basert på
Topics
An entity responsible for the organizer account
Describe the solution you'd like
This entity should be responsible for storing the users with the organizer role. Differentiate between the normal user and a organizer account.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Userstory
Som proff løper trenger eg tilgang til å søke i alle løp i hele Norge for å kunne forenkle planleggingen av sesongen min.
Describe the solution you'd like
Muligheter for å søke, lagre favoritter og ha en oversikt i en kalender.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Topics
Describe
Describe the solution you'd like
Make sure data is stored in database after request is sent from API.
Topics
Authentication on resources in the Backend
Describe the solution you'd like
When resources, that requires a user in the backend, is accessed.
The user must be validated and ensured to it has the rights to access this resource.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
If test data contains multiple events display all in an ordered list.
Topics
CI/CD
Describe the solution you'd like
The application is automatically deployed into the staging environment on each commit to main branch.
Time estimate: 2h
Topics
Find and create timesheet method for the team
Find and create a way to make Burndown Charts as easy as possible for the team.
Describe the solution you'd like
As we log hours , we need a way to but this into the Sprint log, so we need an easy way for the team to log this,
so we can add it to the team report after the sprint.
Also we need to create a burndown chart, and it would be nice if we could make this from the timesheet for all the logged users.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Ticket #10
Time estimate: 6h
Topics
Create RESTAPI Base project in SpringBoot
Describe the solution you'd like
Use Sprintboot initializer to create a project:
Create a Test to verify that the project is working.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
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.