summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.ddev/config.yaml5
-rw-r--r--.ddev/docker-compose.postgrest.yaml5
-rw-r--r--.ddev/nginx/postgrest.conf6
-rw-r--r--.gitignore5
-rw-r--r--cli/Cargo.toml5
-rw-r--r--cli/src/api.rs5
-rw-r--r--cli/src/api/client.rs4
-rw-r--r--cli/src/main.rs2
8 files changed, 36 insertions, 1 deletions
diff --git a/.ddev/config.yaml b/.ddev/config.yaml
index 15592ff..20b7d2f 100644
--- a/.ddev/config.yaml
+++ b/.ddev/config.yaml
@@ -1,3 +1,8 @@
+# SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+# SPDX-FileCopyrightText: 2024 Harald Eilertsen
+#
+# SPDX-License-Identifier: CC0-1.0
+
name: faktura
type: php
docroot: ""
diff --git a/.ddev/docker-compose.postgrest.yaml b/.ddev/docker-compose.postgrest.yaml
index 952bcd4..d0b914b 100644
--- a/.ddev/docker-compose.postgrest.yaml
+++ b/.ddev/docker-compose.postgrest.yaml
@@ -1,3 +1,8 @@
+# SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+# SPDX-FileCopyrightText: 2024 Harald Eilertsen
+#
+# SPDX-License-Identifier: CC0-1.0
+
version: '3.6'
services:
diff --git a/.ddev/nginx/postgrest.conf b/.ddev/nginx/postgrest.conf
index f6f31bd..c8b04db 100644
--- a/.ddev/nginx/postgrest.conf
+++ b/.ddev/nginx/postgrest.conf
@@ -1,5 +1,11 @@
# Add a custom endpoint for passing requests to
# postgrest.
+#
+# SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+# SPDX-FileCopyrightText: 2024 Harald Eilertsen
+#
+# SPDX-License-Identifier: CC0-1.0
+
location /api/ {
default_type application/json;
diff --git a/.gitignore b/.gitignore
index 34928b5..82f3997 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,8 @@
+# SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+# SPDX-FileCopyrightText: 2024 Harald Eilertsen
+#
+# SPDX-License-Identifier: CC0-1.0
+
.ddev/.env
.jwt-token
cli/Cargo.lock
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 9019268..be0f14d 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -1,3 +1,8 @@
+# SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+# SPDX-FileCopyrightText: 2024 Harald Eilertsen
+#
+# SPDX-License-Identifier: CC0-1.0
+
[package]
name = "faktura"
version = "0.1.0"
diff --git a/cli/src/api.rs b/cli/src/api.rs
index be467d5..594530a 100644
--- a/cli/src/api.rs
+++ b/cli/src/api.rs
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+// SPDX-FileCopyrightText: 2024 Harald Eilertsen
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
pub mod client;
pub use client::Client;
diff --git a/cli/src/api/client.rs b/cli/src/api/client.rs
index 4e6a2b0..eee59b0 100644
--- a/cli/src/api/client.rs
+++ b/cli/src/api/client.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
+// SPDX-FileCopyrightText: 2024 Harald Eilertsen
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
use serde::Deserialize;
use std::error::Error;
diff --git a/cli/src/main.rs b/cli/src/main.rs
index 906262a..4c34e18 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -1,4 +1,4 @@
-// Command line app for the faktura invicing system
+// Command line app for the fatura invoicing system
//
// SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
// SPDX-FileCopyrightText: 2024 Harald Eilertsen