generated from GDGVIT/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Backend #3
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
Merged
Merged
Backend #3
Conversation
This file contains hidden or 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
…g and running the application
- Added user model for storing user data. - Integrated passport for authentication with Google and local strategies. - Created authentication routes for registration, login, logout, and Google OAuth. - Configured session management with express-session and cookie-parser. - Updated package.json to include necessary dependencies and types. - Modified app.ts to set up middleware for session and passport. - Added environment variables for Google OAuth and session configuration.
…s (username, profilePicture, name)
Uncomplicated GitHub
…onnection and GitHub token generation
everything look okay
…dleware configuration
… Lots of room for improvement
…s and prevent duplicates
…dates Bumps the npm_and_yarn group with 3 updates in the /api directory: [on-headers](https://github.com/jshttp/on-headers), [express-session](https://github.com/expressjs/session) and [morgan](https://github.com/expressjs/morgan). Updates `on-headers` from 1.0.2 to 1.1.0 - [Release notes](https://github.com/jshttp/on-headers/releases) - [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md) - [Commits](jshttp/on-headers@v1.0.2...v1.1.0) Updates `express-session` from 1.18.1 to 1.18.2 - [Release notes](https://github.com/expressjs/session/releases) - [Changelog](https://github.com/expressjs/session/blob/master/HISTORY.md) - [Commits](expressjs/session@v1.18.1...v1.18.2) Updates `morgan` from 1.10.0 to 1.10.1 - [Release notes](https://github.com/expressjs/morgan/releases) - [Changelog](https://github.com/expressjs/morgan/blob/master/HISTORY.md) - [Commits](expressjs/morgan@1.10.0...1.10.1) --- updated-dependencies: - dependency-name: on-headers dependency-version: 1.1.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: express-session dependency-version: 1.18.2 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: morgan dependency-version: 1.10.1 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]>
…date Bumps the npm_and_yarn group with 1 update in the /api directory: [brace-expansion](https://github.com/juliangruber/brace-expansion). Updates `brace-expansion` from 1.1.11 to 1.1.12 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12) Updates `brace-expansion` from 2.0.1 to 2.0.2 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.12 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: brace-expansion dependency-version: 2.0.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the npm_and_yarn group with 1 update in the /api directory: [form-data](https://github.com/form-data/form-data). Updates `form-data` from 4.0.2 to 4.0.4 - [Release notes](https://github.com/form-data/form-data/releases) - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](form-data/form-data@v4.0.2...v4.0.4) --- updated-dependencies: - dependency-name: form-data dependency-version: 4.0.4 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the npm_and_yarn group with 1 update in the /api directory: [next](https://github.com/vercel/next.js). Updates `next` from 15.3.2 to 15.5.0 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v15.3.2...v15.5.0) --- updated-dependencies: - dependency-name: next dependency-version: 15.5.0 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]>
…_yarn/api/npm_and_yarn-099964817b chore(deps): bump next from 15.3.2 to 15.5.0 in /api in the npm_and_yarn group across 1 directory
…_yarn/api/npm_and_yarn-c22e25d29b chore(deps): bump the npm_and_yarn group across 1 directory with 1 update
…_yarn/api/npm_and_yarn-e04d5d616f chore(deps): bump form-data from 4.0.2 to 4.0.4 in /api in the npm_and_yarn group across 1 directory
…_yarn/api/npm_and_yarn-2c2cf9d17b chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates
docs: add name to contributors in README
… handling - Standardized import statements to use double quotes for consistency. - Introduced an `available` property to track Kubernetes client availability. - Enhanced error logging with more descriptive messages. - Updated methods to throw errors with clearer messages for better debugging. - Refactored volume and PVC generation functions for improved readability. - Cleaned up whitespace and formatting across various functions for better code clarity. - Ensured consistent handling of resource names and namespaces in delete operations. - Improved the generation of Kubernetes manifests by adding deployment names and unique IDs to volumes.
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 introduces significant updates, including a new Docker-based deployment pipeline, enhancements to the API backend, and project documentation improvements. The changes aim to streamline deployment, enhance functionality, and improve code maintainability.
Deployment and CI/CD Enhancements:
.github/workflows/docker-image.yml) to build and push Docker images to GHCR, supporting multi-platform builds forlinux/amd64andlinux/arm64.Dockerfileto optimize the build process, including dependency installation, application build, and runtime setup. It also includes support for Python and Kubernetes CLI (kubectl).Backend API Development:
api/src/api.ts) with middleware for session management, logging, CORS, and authentication. Includes route handlers for authentication, user management, and application-related operations.api/src/auth/passport/google.strategy.ts,api/src/auth/passport/github.strategy.ts), and a local authentication strategy (api/src/auth/local.strategy.ts). [1] [2] [3]api/src/auth/role.middleware.ts) for admin and superadmin access.Project Configuration and Tooling:
.vscode/settings.jsonto include custom spell-check words and workspace color settings.nodemon.jsonfile for development with TypeScript, enabling hot-reloading forsrcfiles.package.jsonfile for the API, defining dependencies, scripts, and TypeScript support.Documentation and Metadata:
README.mdwith the project title ("kargo"), a description of its purpose as an AI-augmented deployment platform, and updated contributor details. [1] [2]TODOfile to track progress on features like Docker image validation and live status.Cleanup and Maintenance:
commit-msgGit hook, which enforced conventional commit message formatting..gitignoreentries fordist,node_modules,__pycache__, and other generated files in the API and AI directories. [1] [2]