CodeYourFuture / CodeYourFuture/orula

Admins can delete lessons

Open
#74 0 comments 0 reactions 1 assignee Claimed by @shawki2 View on GitHub
bug
Dominant language
JavaScript
Stars
4
Forks
11
PR merge metrics
No merged PRs in 30d

Description

**As an** admin
**I want to** delete a lesson
**so that I can** remove lessons that are no longer used.

## Technical Requirements
- An API endpoint, `/api/lessons/:lessonId`, which accepts a `DELETE` request. It should delete the requested lesson and return a success/error message. (Server)
- On the lessons list, each lesson should have a delete button that sends the delete request to the server. (Client)

## Acceptance Criteria
- [x] I can browse to the list of lessons.
- [x] I can click on a delete button next to each lesson.
- [x] When I click on the delete button next to each lesson, I should see a success or error message.
- [x] When a lesson has been deleted, it should be removed from the list.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.