Skip to content

Commit

Permalink
issue update
Browse files Browse the repository at this point in the history
  • Loading branch information
manupanand committed Jan 14, 2025
1 parent 7b2afa1 commit fb45778
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 20 deletions.
57 changes: 38 additions & 19 deletions .github/ISSUE_TEMPLATE/user-story.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,42 @@
---
name: user story
about: this template is for user stories
title: ''
labels: ''
name: Implement Subscribe/Unsubscribe Service
about: Add a subscription/unsubscription service to the project
title: 'Implement Subscribe/Unsubscribe Service for Users'
labels: enhancement, service
assignees: manupanand

milestone: 'Version 1.0'
estimate: 5
---

**As a** [role]
**I need** [function]
**So that** [benefit]

### Details and Assumptions
* [document what you know]

### Acceptance Criteria

```gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]
```
## Description
The goal is to implement a service that allows users to subscribe and unsubscribe from notifications, newsletters, or other services. This service should handle user actions and maintain their subscription status.

## Acceptance Criteria

**Given** a user is logged in,
**When** the user subscribes to a service,
**Then** the user's subscription status is updated to "subscribed".

**Given** a user is logged in,
**When** the user unsubscribes from a service,
**Then** the user's subscription status is updated to "unsubscribed".

**Given** a user subscribes,
**When** the subscription action is successful,
**Then** a confirmation notification is sent to the user.

**Given** a user unsubscribes,
**When** the unsubscription action is successful,
**Then** a confirmation notification is sent to the user.

## Assumptions:
- The user has already been authenticated in the system.
- The service will use a database to store user subscription statuses.
- The service will be integrated with an email/SMS notification system to notify users on subscription changes.

## Additional Notes:
- Ensure proper validation for user input (e.g., preventing a user from subscribing multiple times without unsubscribing).
- Consider scalability for handling large numbers of users.

## Estimated Time: 5 hours

8 changes: 8 additions & 0 deletions git.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
echo adding files to staging
git add .
echo what is this commit for ?
read commit
git commit -m "${commit}"
echo staged, pushing to main $commit
git push origin main
git status
11 changes: 10 additions & 1 deletion project-ops/dev/k8s/dev-combined.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ spec:
spec:
containers:
- name: quiz-app-container
image: manupanand/quiz-app:1.0 # Replace with your Docker Hub username and image tag
image: manupanand/quiz-app:2.0 # Replace with your Docker Hub username and image tag
ports:
- containerPort: 2500
---
apiVersion: apps/v1
kind: Services
metadata:
name: quiz-app-service

---
apiVersion: apps/v1
kind: Secrets

0 comments on commit fb45778

Please sign in to comment.