Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tabs table and API #41

Merged
merged 11 commits into from
Nov 23, 2024
Merged

Conversation

PakmanGames
Copy link
Member

Description of Changes

  • Created tabs table in database with columns id (primary key), name, createdAt, and user_id (foreign key).
  • Created endpoint APIs in backend to interact with database, created tabsService.js, tabsController.js, and tabsRoute.js, and documented the routes using swagger, made endpoints to perform the following functions:
    • Create tabs
    • Read / Get tabs
    • Update tabs
    • Delete tabs
  • Tested all tabs API functionality using swagger UI

Linked Issue

Closes #30

Screenshots (For UI Changes)

Create new Tab

With body:

{
  "id": 1,
  "name": "New Tab",
  "user_id": null
}

image|100

Get existing tabs

image|150

Update existing Tab name by ID

With body:
image|200
image|100

Delete Tab by ID

image|150

@PakmanGames PakmanGames self-assigned this Nov 22, 2024
@abedmohammed abedmohammed merged commit a886d09 into main Nov 23, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TASK-12] Implement Tabs Table and API
2 participants