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

Dev to Main Sync #31

Merged
merged 10 commits into from
Dec 11, 2024
Merged

Dev to Main Sync #31

merged 10 commits into from
Dec 11, 2024

Conversation

joyguptaa
Copy link
Contributor

@joyguptaa joyguptaa commented Dec 4, 2024

Date: 4 Dec 2024

Developer Name: Joy Gupta


Issue Ticket Number

NA

Description

This PR contains

  • Github Action CI checks
  • hello command
  • server setup for discord service
  • health check API

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

joyguptaa and others added 9 commits October 7, 2024 23:26
* WIP : Adding server initial setup

* Feat : Added Makefile

* Chore : Updated env.example

* Feat : Added discordgo package and dto for discordMessage

* Feat : Added DISCORD_PUBLIC_KEY in AppConfig

* Feat : Added a middleware to verify incoming commands

* Feat : Added setup for routes and discord interaction endpoint

* Refactor : Code cleanup

* Refactor : Simplified baseHandler code
* Chore : Renamed vars to self explanatory vars

* Chore : Added commands in makefile & minor refactors

* Feat : Added custom error handler

* Feat : Utilised custom error handler

* Feat : Moved content-type setter to middleware

* Feat : Added custom discord response handler

* Chore : Added space after each func

* Test Setup (#16)

* Feat : added config helper to setup env

* Chore : Fixed DISCORD_PUBLIC_KEY for test

* Test : Added test for verifyCommand

* Test : Added test for verifyCommand

* Chore : Moved file

* Test : Added test for baseHandler

* Feat : Updated makefile
* Chore : Updated packages

* Feat : Added function to register commands

* Feat : Added register command in makefile

* Test : Updated config helper

* Chore : Tidy Project

* Added register command with tests

* Test : Added one more test for register command

* Chore : Renamed file

* Refactor : Cleanup and formated code

* Test : Increased test coverage

* Chore : Removed redundant test

* Hello command (#19)

* Feat : Added hello command interaction endpoint

* Feat : Added test for basehandler

* Refactor : Code cleanup
* Feat : Added github workflow

* Feat : Added branches in ci checks

* Chore : Updated action version
* Feat : Added docker file and readme

* Readme : Updated readme

* Feat : Updated docker compose file

* Chore : Changed default port
* Doc : Added Contribution doc

* Chore : Renamed file
* Feat : Added dto for DiscordMessage

* Refactor : Simplified baseHandler code

* Feat : Added service to handle commands

* Refactor : Simplified existing code

* Chore : Added spaces
* Add health check endpoint and tests

* remove comment

* add timeStamp in response
@joyguptaa joyguptaa self-assigned this Dec 4, 2024
* chore: add docker setup

* ci: setup action for deployment

* chore: make the action run for the ci/deploy-server branch

* chore: remove ci/deploy-server branch for trigring actions
@prakashchoudhary07 prakashchoudhary07 merged commit 5b190d7 into main Dec 11, 2024
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.

4 participants