Skip to content

feat: initialize album-api-v2 with TypeScript, Express, and basic CRUD operations#66

Open
able-help wants to merge 3 commits into
Philess:mainfrom
able-help:feat/cart-feature
Open

feat: initialize album-api-v2 with TypeScript, Express, and basic CRUD operations#66
able-help wants to merge 3 commits into
Philess:mainfrom
able-help:feat/cart-feature

Conversation

@able-help

Copy link
Copy Markdown
  • Added package.json with dependencies and scripts for development and testing.
  • Implemented main application logic in app.ts, including routes for albums.
  • Created data.ts to seed initial album data.
  • Developed store.ts to manage album data and operations.
  • Defined types in types.ts for album and artist structures.
  • Added validation logic in validation.ts for album input.
  • Implemented tests for API routes in app.test.ts and store functionality in store.test.ts.
  • Configured TypeScript settings in tsconfig.json.
  • Added smoke test script to verify frontend and backend integration.
  • Created AlbumController and associated tests in albums-api for additional API functionality.
  • Defined Artist model for structured artist data.

Purpose

  • ...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

- Added D3.js as a dependency for data visualization.
- Introduced SalesChart component to display album sales data.
- Created album-sales.json to store sales data.
- Updated App.vue to include SalesChart and modify layout.
- Implemented sorting functionality in AlbumController for albums based on title, artist, or price.
- Modified Album model to include Year attribute.
- Added GitHub Actions workflow for CI/CD to build and push Docker images.
- Created Dockerfile for albums-api to facilitate containerization.
- Added validation functions for date and IPv6 in validators.ts with corresponding tests.
- Implemented utility functions for rendering sales plots using D3.js.
- Added install script for .NET SDK 8 for local development setup.
…D operations

- Added package.json with dependencies and scripts for development and testing.
- Implemented main application logic in app.ts, including routes for albums.
- Created data.ts to seed initial album data.
- Developed store.ts to manage album data and operations.
- Defined types in types.ts for album and artist structures.
- Added validation logic in validation.ts for album input.
- Implemented tests for API routes in app.test.ts and store functionality in store.test.ts.
- Configured TypeScript settings in tsconfig.json.
- Added smoke test script to verify frontend and backend integration.
- Created AlbumController and associated tests in albums-api for additional API functionality.
- Defined Artist model for structured artist data.
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.

1 participant