Markiza666 / Markiza666/Airbean-API

Som användare vill jag se min "Orderhistorik" för att granska detaljer om mina tidigare kaffebeställningar.

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

FE: Utveckla "Orderhistorik"-sidan för att lista alla tidigare beställningar för den inloggade användaren.
FE: Varje beställning ska visa en sammanfattning (t.ex. datum, totalt belopp, status) och tillåta att man går in på mer detaljer.
BE: Skapa en API-slutpunkt (GET /api/orders/history eller GET /api/orders?status=completed) för att hämta en lista över alla slutförda beställningar för den autentiserade användaren.
BE: Se till att slutpunkten tillhandahåller tillräckligt med data för visning, såsom beställningsdatum, total kostnad och en sammanfattning av artiklar.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing authenticated order routes in this JavaScript API and tracing the order data they return. Use the requested history endpoint behavior as the acceptance target: completed orders for the signed-in user must include date, total cost, and item summaries, while the Orderhistorik page lists them and exposes their details.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend, full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.