Added README, app env file for dev

This commit is contained in:
Andrew Lalis 2024-12-16 15:04:42 -05:00
parent 83e57734da
commit 3244b9df00
6 changed files with 68 additions and 0 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# Teacher Tools
A collection of simple, easy-to-use utilities for classroom management.

16
api/.gitignore vendored Normal file
View File

@ -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

21
api/dub.json Normal file
View File

@ -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"
}
}

18
api/dub.selections.json Normal file
View File

@ -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"
}
}

6
api/source/app.d Normal file
View File

@ -0,0 +1,6 @@
import handy_httpd;
void main() {
HttpServer server = new HttpServer();
server.start();
}

5
app/.env.development Normal file
View File

@ -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