From 3244b9df002c6a58f181d20e8d1cdc561da5ffa2 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Mon, 16 Dec 2024 15:04:42 -0500 Subject: [PATCH] Added README, app env file for dev --- README.md | 2 ++ api/.gitignore | 16 ++++++++++++++++ api/dub.json | 21 +++++++++++++++++++++ api/dub.selections.json | 18 ++++++++++++++++++ api/source/app.d | 6 ++++++ app/.env.development | 5 +++++ 6 files changed, 68 insertions(+) create mode 100644 README.md create mode 100644 api/.gitignore create mode 100644 api/dub.json create mode 100644 api/dub.selections.json create mode 100644 api/source/app.d create mode 100644 app/.env.development diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ef3a35 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# Teacher Tools +A collection of simple, easy-to-use utilities for classroom management. diff --git a/api/.gitignore b/api/.gitignore new file mode 100644 index 0000000..bd296f9 --- /dev/null +++ b/api/.gitignore @@ -0,0 +1,16 @@ +.dub +docs.json +__dummy.html +docs/ +/teacher-tools-api +teacher-tools-api.so +teacher-tools-api.dylib +teacher-tools-api.dll +teacher-tools-api.a +teacher-tools-api.lib +teacher-tools-api-test-* +*.exe +*.pdb +*.o +*.obj +*.lst diff --git a/api/dub.json b/api/dub.json new file mode 100644 index 0000000..b4ab2cb --- /dev/null +++ b/api/dub.json @@ -0,0 +1,21 @@ +{ + "authors": [ + "Andrew Lalis" + ], + "copyright": "Copyright © 2024, Andrew Lalis", + "dependencies": { + "asdf": "~>0.7.17", + "botan": "~>1.13.6", + "d2sqlite3": "~>1.0.0", + "handy-httpd": "~>8.4.3" + }, + "description": "A minimal D application.", + "license": "proprietary", + "name": "teacher-tools-api", + "stringImportPaths": [ + "*" + ], + "subConfigurations": { + "d2sqlite3": "all-included" + } +} \ No newline at end of file diff --git a/api/dub.selections.json b/api/dub.selections.json new file mode 100644 index 0000000..b193ec9 --- /dev/null +++ b/api/dub.selections.json @@ -0,0 +1,18 @@ +{ + "fileVersion": 1, + "versions": { + "asdf": "0.7.17", + "botan": "1.13.6", + "botan-math": "1.0.4", + "d2sqlite3": "1.0.0", + "handy-httpd": "8.4.3", + "httparsed": "1.2.1", + "memutils": "1.0.10", + "mir-algorithm": "3.22.1", + "mir-core": "1.7.1", + "path-matcher": "1.2.0", + "silly": "1.1.1", + "slf4d": "3.0.1", + "streams": "3.5.0" + } +} diff --git a/api/source/app.d b/api/source/app.d new file mode 100644 index 0000000..8e1ed0f --- /dev/null +++ b/api/source/app.d @@ -0,0 +1,6 @@ +import handy_httpd; + +void main() { + HttpServer server = new HttpServer(); + server.start(); +} diff --git a/app/.env.development b/app/.env.development new file mode 100644 index 0000000..51920f9 --- /dev/null +++ b/app/.env.development @@ -0,0 +1,5 @@ +# Environment variables available to the app through +# import.meta.env.VITE_MY_VAR, for example. +# All variables must be prefixed with "VITE_" to be exposed to JS code. + +VITE_API_AUTH_URL=http://localhost:8080/api/auth