implement api

This commit is contained in:
2024-08-21 08:20:51 -05:00
parent 603936b50c
commit 6a56b2300a
18 changed files with 505 additions and 124 deletions

14
main_test.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"go-nkode/core/api"
"net/http"
"testing"
)
func TestMain(t *testing.T) {
base := "http://localhost:8080"
resp, err := http.Post(base+api.CreateNewCustomer, "application/json")
}