-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add Category CRUD APIs✨ #12
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To drop db use a GUI and if you get error saying already in use by some other user then run the following command in psql shell using your admin account -- Connect to the PostgreSQL server using a superuser account psql -U postgres -- Terminate all connections to the database SELECT pg_terminate_backend(pg_stat_activity.pid)FROM pg_stat_activityWHERE pg_stat_activity.datname = 'finance-management-api' AND pid <> pg_backend_pid(); -- Drop the databaseDROP DATABASE "finance-management-api";
Closed
NiteshSoma
approved these changes
Nov 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates and improvements to various parts of the codebase, including configuration files, workflows, and application logic. The most important changes are grouped by their themes below.
Configuration and Workflow Updates:
.github/dependabot.yml
to remove unnecessary quotes and improve readability..github/workflows/bun.js.yml
to check types and run ESLint..husky/pre-commit
..vscode/launch.json
for debugging and.vscode/settings.json
for default JavaScript Debug Terminal settings. [1] [2]Application Logic Enhancements:
categoryRouter
to the routes insrc/app.ts
.generateMetadata
insrc/common/helpers/metadata.helper.ts
for pagination metadata.metadataSchema
and related types insrc/common/schema/metadata.schema.ts
for pagination metadata validation.src/common/utils/constants.ts
.Database Schema Changes:
src/db/migrations/0000_smart_firebrand.sql
for managing accounts, activities, categories, expenses, groups, sessions, splits, users, and user-group relationships.src/db/migrations/0000_open_black_crow.sql
,0001_nasty_cobalt_man.sql
, and0002_equal_grandmaster.sql
. [1] [2] [3]Dependency and Script Updates:
package.json
to include new scripts for Husky and type checking, and addedhusky
andlint-staged
as dependencies. [1] [2] [3]Code Style and Linting:
eslint.config.mjs
to include new rules and override settings for specific folders.