hh-java-24-1-team-2's People
hh-java-24-1-team-2's Issues
Fremd API - Backend
GET all workouts
As a User
I need to view a list of all my workouts
to be able to have a comprehensive overview of my entire list.
Description
Implement a feature that allows users to retrieve and view a list of all their workouts from the backend.
Acceptance Criteria
- Create a GET "/api/workouts" endpoint to fetch all workouts from the backend.
- Display the list of all workouts on the starting page of the frontend.
Tasks
(for developers team)
- Create a Model with "Id, descriptio and workoutName"
- Create a "View All workouts" component in the UI.
- Implement a GET request to retrieve all workouts from the backend.
- Update the frontend to display the list of workouts.
- Implement Unit and Integration Test.
- add some styling
GET workout By Id
As a User
I need to search for workout in my library
to be able to quickly find a specific workout
Description
Implement a search feature that allows users to search for workout based on criteria such as title, author, or genre.
Acceptance Criteria
- Create a GET "/api/workouts/{id}" endpoint to fetch the workout specified by the id.
- Display all informations given from the backend on a extra Route for each workout "/workout/:id
- When clicking a workout in the list view or navigating directly via the url the details page should be shown
Tasks
- Implement a component that shows the workout Details when you click on workout in the list view
- Create a GET request to retrieve the workout data from the backend (Get By Id).
- Implement Unit and Integration Test.
- add some styling
DELETE workout
As a User
I need to delete a workout from my library
to be able to remove workout I no longer want in my collection.
Description
Implement a feature that allows users to delete a workout from their library. Users should be able to remove a workout they no longer wish to keep in their collection.
Acceptance Criteria
- Create a DELETE Endpoint "/api/workouts/{id}" which deletes the workout specified by the id.
- On the Details-Page of each workout should be a "delete" Button.
- When clicking on the "Delete" button, the workout should be removed from the database.
Tasks
- Add a "Delete" button for each workout in the UI.
- Create a DELETE request or endpoint to remove the workout from the backend.
- Implement Unit and Integration Test.
Add (POST) workout
As a User
I need add a new workout to my library
to be able to keep track of new workouts I acquire
Description
Implement a feature that allows users to add a new workout to their library. Users should be able to enter workout details such as title, description and plan.
Acceptance Criteria
- Create a POST endpoint "/api/workouts" to add a new restaurant to the backend.
- The the Route "/workouts/add" should display the form, for the user to add a workout.
- Ensure that the added workout appears in the list of workout.
Tasks
(for developers team)
- Create a "Add workout" button in the UI.
- Implement a form to input workout details.
- Create a POST request to send restaurant data to the backend.
- Implement Unit and Integration Test.
- add some styling
Edit (PUT) workout
As a User
I need to edit the details of a workout in my library
to be able to update information for a workout
Description
Implement a feature that allows users to edit the details of a workout in their library. Users should be able to modify the title, description, plan, and other information.
Acceptance Criteria
- A "Edit"-Button is displayed on the details-page for each-workout.
- When the "Edit" button for a workout is clicked, the user gets redirected to "/workouts/:id/edit
- On the Edit-Page an edit form for that restaurant should appear.
- When submitting the form, then the workout information should be updated in the backend and the user should be redirected to the details page.
- Create an PUT Endpoint "/api/workouts/{id} to update the workout.
Tasks
- Add an "Edit" button for each workout in the UI.
- Implement an edit form to modify workout details.
- Create a PUT request to update workout details on the backend.
- Display updated information in the frontend after saving changes.
- Implement Unit and Integration Test.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.