Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
67cfea3
updated REST api docs
Golden-Eagle07 Jun 23, 2026
3ce5a7c
Merge branch 'v0.1.0' of https://github.com/CommandLineCoding/Elephan…
Golden-Eagle07 Jun 24, 2026
2c1b0d9
rename mob to mobile
ChandruWritesCode Jun 24, 2026
0c45b20
deleted extra files related to useless builds
ChandruWritesCode Jun 24, 2026
ab9593d
Merge branch 'v0.1.0' of https://github.com/CommandLineCoding/Elephan…
ChandruWritesCode Jun 24, 2026
348cac5
Merge branch 'v0.1.0' of https://github.com/CommandLineCoding/Elephan…
Golden-Eagle07 Jun 25, 2026
7a58c5e
minor change to run on git bash
Golden-Eagle07 Jun 25, 2026
f785d0a
updated api documentation
Golden-Eagle07 Jun 25, 2026
01b05b5
tests for user repository
Golden-Eagle07 Jun 25, 2026
dbd6233
corrected api documentation
Golden-Eagle07 Jun 25, 2026
4efe078
authentication test added
Golden-Eagle07 Jun 26, 2026
13ad6fb
updated auth test
Golden-Eagle07 Jun 26, 2026
137fe64
updated user_repository_test
Golden-Eagle07 Jun 26, 2026
5176fcb
updated ci/cd
Golden-Eagle07 Jun 26, 2026
db217ca
commented out duplication
Golden-Eagle07 Jun 26, 2026
7ca8220
middleware test added
Golden-Eagle07 Jun 26, 2026
12b02ef
modified navbar with custom one, added settings page, changed launche…
ChandruWritesCode Jun 27, 2026
f9c4a29
Merge branch 'v0.1.0' of https://github.com/CommandLineCoding/Elephan…
ChandruWritesCode Jun 27, 2026
baf084c
chat page design changes and some extra features on settings page. al…
ChandruWritesCode Jun 28, 2026
7b4b26d
dependencies update
mrsumanbiswas Jun 28, 2026
e6dd024
Added Message Model
mrsumanbiswas Jun 28, 2026
31f70dc
Merge branch 'v0.2.0' into v0.1.0
mrsumanbiswas Jun 28, 2026
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
30 changes: 28 additions & 2 deletions .github/workflows/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go Integration & Test Suite

on:
push:
branches: [ main, dev ]
branches: [ main, v0.1.0 ]
pull_request:
branches: [ main, dev ]
branches: [ main, v0.1.0 ]

jobs:
test:
Expand Down Expand Up @@ -32,6 +32,20 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.26'
cache: true
cache-dependency-path: server/go.sum

- name: Run Go Vet Sanitation Checks
run: |
cd server
go vet ./...

- name: Run Advanced Staticcheck Compiler
uses: dominikh/staticcheck-action@v1
with:
version: "latest"
install-go: false
working-directory: "server"

- name: Execute Package Test Automation Suite
env:
Expand All @@ -48,4 +62,16 @@ jobs:
ARGON_PARALLELISM: ${{ vars.ARGON_PARALLELISM }}
run: |
cd server
sudo apt-get update && sudo apt-get install -y postgresql-client
PGPASSWORD="${{ secrets.POSTGRES_PASSWORD }}" psql -h localhost -p "${{ vars.POSTGRES_PORT }}" -U "${{ vars.POSTGRES_USER }}" -d "${{ vars.POSTGRES_DB }}" \
-f migrations/001_create_users_up.sql \
-f migrations/002_create_refresh_tokens_up.sql \
-f migrations/003_add_search_indexes_up.sql \
-f migrations/004_create_message_up.sql
go run main.go &
for i in $(seq 1 10); do
curl -sf http://localhost:${{ vars.PORT }}/api/health && break
echo "Waiting for server... attempt $i"
sleep 2
done
go test -v ./...
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ go.work.sum
# .idea/
# .vscode/

mob/windows

# Keep database data folders out of version control
pgdata/
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ services:

server:
build:
context: .
dockerfile: server/Dockerfile
context: ./server
dockerfile: Dockerfile
container_name: elephant_server
ports:
- "${PORT}:${PORT}"
Expand Down
Loading
Loading