Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
5395cdd
feat: initialize flutter project
McLavrushka Jul 7, 2025
30397e6
feat: add go_router with routing file and blank pages
McLavrushka Jul 7, 2025
4823944
feat: add shared_preferences for token and add redirect in router
McLavrushka Jul 7, 2025
5b6f335
fix: rm redirect, add splash screen with shared pref
McLavrushka Jul 8, 2025
f631e4a
feat: add auth page with mock token creation
McLavrushka Jul 8, 2025
e853bc4
Merge #10 from 4-ui_structure
MHDtA-dev Jul 8, 2025
e2a6dbb
Merge pull request #12 from MAL-da-udal/ui_auth
McLavrushka Jul 8, 2025
aeef495
feat: Backend init
MHDtA-dev Jul 9, 2025
9918217
fix: auth page obscure text and add controllers
McLavrushka Jul 9, 2025
6051d91
feat: init version of home page with tabs and implemented profile
McLavrushka Jul 9, 2025
f5c65a1
fix: typo
McLavrushka Jul 9, 2025
1b49dfa
feat: add avatar picker and telegram field for profile_page, add shar…
McLavrushka Jul 9, 2025
40126ed
feat: add search tab and user profile page
McLavrushka Jul 9, 2025
44ced50
Merge branch 'dev' of https://github.com/MAL-da-udal/GoWithMe into 9-…
McLavrushka Jul 9, 2025
97fa234
feat: implement full UI logic without backend integration
McLavrushka Jul 9, 2025
364833a
fix: rm chat_page
McLavrushka Jul 10, 2025
6744cf2
feat: add README
merkulovleo Jul 10, 2025
f22fcdd
feat: Entire backend without tests
MHDtA-dev Jul 13, 2025
989cc26
fix: Project structure
MHDtA-dev Jul 13, 2025
cbd65bf
Merge branch 'dev' of https://github.com/MAL-da-udal/GoWithMe into 16…
McLavrushka Jul 14, 2025
48e51c5
feat: add fonts, riverpod and url_launcher to yaml
McLavrushka Jul 14, 2025
bd9105f
feat: theme and settings page, custom transitions and state manager, …
McLavrushka Jul 14, 2025
8166c65
feat: user profile page with dummy data
McLavrushka Jul 14, 2025
211414d
fix: colors
McLavrushka Jul 14, 2025
e4728fd
Merge pull request #25 from MAL-da-udal/16-ui-design
MHDtA-dev Jul 14, 2025
9cfd732
Fix: Make JWT system adequate
MHDtA-dev Jul 15, 2025
60cd680
Add format check to CI/CD workflow
merkulovleo Jul 15, 2025
472bf2c
Add format check to CI/CD workflow
merkulovleo Jul 15, 2025
1cb4bba
fix CI/CD workflow
merkulovleo Jul 15, 2025
2359fd8
fix CI/CD workflow
merkulovleo Jul 15, 2025
305f1fc
fix CI/CD workflow
merkulovleo Jul 15, 2025
5cbc067
fix CI/CD workflow
merkulovleo Jul 15, 2025
ea63b71
Format code to pass CI formatting check
merkulovleo Jul 15, 2025
8742e3a
fix CI/CD workflow
merkulovleo Jul 15, 2025
f9e88c8
fix CI/CD workflow
merkulovleo Jul 15, 2025
7a80055
fix CI/CD workflow and add new tests
merkulovleo Jul 15, 2025
1c6386b
Format code to pass CI formatting check
merkulovleo Jul 15, 2025
b6981df
fix CI/CD workflow
merkulovleo Jul 15, 2025
77f6e7b
fix CI/CD workflow
merkulovleo Jul 15, 2025
0b2b762
fix: add telegram alias field to profile model
MHDtA-dev Jul 15, 2025
2217c5d
fix: Makefile installs swag
MHDtA-dev Jul 15, 2025
91cdc0e
fix: pull backend changes with adding telegram
McLavrushka Jul 15, 2025
c017b6b
feat: add authentification and profile connection with api, store and…
McLavrushka Jul 15, 2025
d6aabba
feat: add search tab api connection with storing state, ui fixes
McLavrushka Jul 16, 2025
e995a39
feat: add user profile api connection, avatar upload and fetch with s…
McLavrushka Jul 16, 2025
c9de86c
feat: add error handling and user feedback
McLavrushka Jul 16, 2025
621576e
Merge branch '26-ui-backend-connect' of https://github.com/MAL-da-uda…
McLavrushka Jul 16, 2025
04de68d
fix: Telegram alias is set now, add more interests, created endpoint …
MHDtA-dev Jul 16, 2025
0adb47e
Merge pull request #28 from MAL-da-udal/26-ui-backend-connect
MHDtA-dev Jul 16, 2025
162368c
fix: Add healthy food interest
MHDtA-dev Jul 16, 2025
48dabd3
fix CI/CD workflow and README
merkulovleo Jul 16, 2025
8279351
Format code to pass CI formatting check
merkulovleo Jul 16, 2025
45b7285
Format code to pass CI formatting check
merkulovleo Jul 16, 2025
c640362
Merge branch 'dev' of https://github.com/MAL-da-udal/GoWithMe into 29…
McLavrushka Jul 16, 2025
6fd2554
fix: project name
McLavrushka Jul 16, 2025
7f6e7c1
Fix: project naming
McLavrushka Jul 16, 2025
49b9e28
Merge branch 'dev' into devops
McLavrushka Jul 16, 2025
7188156
Update README.md
merkulovleo Jul 16, 2025
c073ec3
Feat: add workflow with CI/CD and tests for frontend
McLavrushka Jul 16, 2025
aba3a6d
fix yaml file
merkulovleo Jul 16, 2025
e4efdcb
add go tests, dockerfile frontend
merkulovleo Jul 16, 2025
1cba3b2
add go tests, dockerfile frontend
merkulovleo Jul 16, 2025
d1e5f15
Format code to pass CI formatting check
merkulovleo Jul 16, 2025
38fb8e9
Fix frontend tests
merkulovleo Jul 16, 2025
8738663
Format code to pass CI formatting check
merkulovleo Jul 16, 2025
e5d9f99
fix: Change server port to 8080
MHDtA-dev Jul 16, 2025
14606f8
fix: Fix server port in compose.yml
MHDtA-dev Jul 16, 2025
fd99d3c
fix: Checking for user exists in setup postgres script
MHDtA-dev Jul 16, 2025
7e52b70
fix: add interests/cats api call and fix ui bugs
McLavrushka Jul 16, 2025
80845f0
chore: Added CORS support, factored Postgres to the separate container
MHDtA-dev Jul 16, 2025
ee1f8e4
Update README.md
MHDtA-dev Jul 16, 2025
47e642c
Test deploy workflow
merkulovleo Jul 16, 2025
42a2fbd
Test deploy workflow
merkulovleo Jul 16, 2025
6a16fb3
Fix deploy workflow
merkulovleo Jul 16, 2025
d8e882b
Merge branch 'dev' of https://github.com/MAL-da-udal/GoWithMe into 29…
McLavrushka Jul 16, 2025
f6368d4
feat: add localization
McLavrushka Jul 16, 2025
3a4d746
Feat: add localization and interests/cats method
McLavrushka Jul 16, 2025
da24ab0
fix: Makefile now sets PATH for swag, try to fix CORS issue
MHDtA-dev Jul 16, 2025
7a2084d
feat: update readme
McLavrushka Jul 16, 2025
81969a3
Merge branch 'dev' into devops
MHDtA-dev Jul 16, 2025
097bc43
Merge pull request #32 from MAL-da-udal/devops
MHDtA-dev Jul 16, 2025
ca50ede
fix: format files
McLavrushka Jul 16, 2025
e43bcc7
chore: Assets
MHDtA-dev Jul 16, 2025
57ba705
fix: rename screenshot
MHDtA-dev Jul 16, 2025
2eec758
Add backend architecture
MHDtA-dev Jul 16, 2025
159451e
fix: Update go.mod
MHDtA-dev Jul 16, 2025
1ebab58
fix: Added github pages for CORS
MHDtA-dev Jul 16, 2025
2096202
Update README.md
merkulovleo Jul 16, 2025
547f494
feat: add screenshots to read
McLavrushka Jul 16, 2025
c5e45c2
fix: score
McLavrushka Jul 16, 2025
98553a7
fix: compose.yaml
MHDtA-dev Jul 16, 2025
bf53f24
fix: compose.yaml
MHDtA-dev Jul 16, 2025
35e0500
fix: compose.yaml
MHDtA-dev Jul 16, 2025
3eb9d8d
fix: compose.yaml
MHDtA-dev Jul 16, 2025
3bdea94
fix: change backend port to 8081
MHDtA-dev Jul 16, 2025
4db36c2
fix: test and localization
McLavrushka Jul 16, 2025
c14dcce
fix: readme, ui bugs and comment localhost url
McLavrushka Jul 16, 2025
0cbf2c8
fix: code format
McLavrushka Jul 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy to Server

on:
push:
branches: [ dev ]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Deploy via SSH
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_PASS }}
port: ${{ secrets.SERVER_PORT }}
script: |
cd ~/GoWithMe
docker compose down
git pull
docker compose up -d --build
68 changes: 68 additions & 0 deletions .github/workflows/flutter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Build & Deploy Web

permissions:
contents: write

on:
push:
branches: [ dev, main, devops ]
pull_request:
branches: [ dev, main, devops ]

jobs:
build-and-deploy-web:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Install dependencies
run: |
cd frontend
flutter pub get

- name: Check formatting
run: |
cd frontend
dart format --set-exit-if-changed .

- name: Run tests with coverage
run: |
cd frontend
flutter test --coverage

- name: Install lcov
run: sudo apt-get update && sudo apt-get install -y lcov

- name: Generate HTML report
run: |
cd frontend
genhtml coverage/lcov.info --output-directory coverage/html

- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: flutter-coverage-report
path: coverage/html

- name: Static analysis
run: flutter analyze --no-fatal-warnings --no-fatal-infos

- name: Build web
run: |
cd frontend
flutter build web --release --base-href='/GoWithMe/'

- name: Deploy to GitHub Pages
uses: bluefireteam/flutter-gh-pages@v9
with:
baseHref: '/GoWithMe/'
workingDir: frontend
customArgs: --target="lib/main.dart"
34 changes: 34 additions & 0 deletions .github/workflows/go-backend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Go Backend CI

on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install dependencies
run: go mod download

- name: Lint
run: go fmt ./... && go vet ./...

- name: Run tests
run: go test -v ./...

- name: Build
run: go build -v ./cmd/main.go
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.DS_Store
.idea
api/.DS_STORE
api/protobuf/.DS_STORE
backend/.DS_STORE
backend/.idea
backend/auth/.DS_STORE
backend/auth/.idea
backend/gateway/.DS_STORE
backend/gateway/.idea
backend/interests/.DS_STORE
backend/interests/.idea
backend/profile/.DS_STORE
backend/profile/.idea
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export PATH := $(HOME)/go/bin:$(PATH)

.PHONY: all
all: backend_dependencies backend_docs

.PHONY: backend_dependencies
backend_dependencies:
cd backend && go install github.com/swaggo/swag/cmd/swag@latest
cd backend && go mod tidy

backend_docs:
cd backend && swag init --generalInfo cmd/main.go
Loading
Loading