Skip to content

Next-gen backend for the KTH AI Society website ⚡

License

Notifications You must be signed in to change notification settings

kthaisociety/backend

Repository files navigation

kthaisociety/backend

Next-generation backend for KTH AI Society website.

Requirements

  • Go 1.24.x
  • Docker

Setup

Use Docker compose to run the PostgreSQL database locally.

docker compose up -d

Use Go to run the program.

go run cmd/api/main.go

Git Workflow

This project adheres to Conventional Commits for commit messages. This is to ensure that the project is easily maintainable and that the commit history is clean and easy to understand.

Complete Workflow: From Issue to Merged PR

  1. Issue Assignment

    • Assign yourself to an issue from our project board
    • Team members can self-assign issues or may be tasked with specific issues during workshops/meetings
  2. Project Management

    • Ensure the issue is added to our project view
    • Update the issue status to "In Progress" when you start working on it
  3. Branch Creation & Development

    • Check out the project locally

    • Name your branch either issue-X (where X is the issue number) or use GitHub's "Create a branch" feature

    • Follow Conventional Commits for commit messages

    • Include fixes #X in your commit message if it fixes issue X

    • Example commit message:

      ci: add deployment notification to Mattermost
      
      * notify on mattermost upon deployment
      
      fixes #17
      
  4. Pull Request Creation

    • Create a pull request when your work is ready for review
    • Use "Draft Pull Request" if you want early feedback but the work is not yet complete
  5. Code Review Process

    • Request reviews in the team Mattermost channel
    • Primary reviewer is typically the Head of IT
    • The review process may involve multiple rounds of feedback and changes
    • It is generally the responsibility of the PR creator to merge once approved
    • Coordinate with Head of IT before merging if it triggers a production deployment
    • All merges should be squashed
  6. Showcase

    • Present your completed work during the next team meeting

Notice about license

This project is licensed under the MIT license. See the LICENSE file for more information.

This does not apply to logos, icons, and images used in this project. They are the property of KTH AI Society and are not licensed for public, commercial, or personal use. If you wish to use them, please contact us at [email protected].

About

Next-gen backend for the KTH AI Society website ⚡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published