Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
bin = "./tmp/main"
args_bin = ["server", "-c", "./config.yaml"]
args_bin = []
bin = "./start.sh"
cmd = "go build -o ./tmp/main cmd/cmd.go"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "repositories"]
exclude_dir = ["assets", "tmp", "vendor", "testdata", ".dev", "repositories"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
Expand Down
5 changes: 0 additions & 5 deletions .dev/create-repo.sh

This file was deleted.

3 changes: 3 additions & 0 deletions .dev/create_repository.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

curl -X POST http://localhost:8080/api/v1/repository -H "Authorization: Bearer $1" -H "Content-Type: application/json" -d '{"name": "my-repo-4", "description": "My first repository"}'
3 changes: 3 additions & 0 deletions .dev/login.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

curl -X POST http://localhost:8080/api/v1/auth/login -H "Content-Type: application/json" -d '{"email":"test@example.com", "password":"password123"}'
3 changes: 3 additions & 0 deletions .dev/register.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

curl -X POST http://localhost:8080/api/v1/auth/register -H "Content-Type: application/json" -d '{"email":"test@example.com", "username":"testuser", "password":"password123"}'
12 changes: 2 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ go.work.sum
# .vscode/

config.yaml

# Folder used by air to store build files
tmp/

# Default local storage folder
repositories/

main

.vscode/
ssh_host_key
*sqlite*
repositories/
2 changes: 1 addition & 1 deletion Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 as builder
FROM golang:1.25 as builder

WORKDIR /app
COPY bin/app /app/bin/app
Expand Down
168 changes: 0 additions & 168 deletions Makefile

This file was deleted.

134 changes: 0 additions & 134 deletions README_SSH.md

This file was deleted.

Loading