├── .dockerignore ├── .env.example ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .vscode └── launch.json ├── Documentation ├── CRUD and HTTP.md ├── Dependencies.md ├── Docker and MongoDB.md ├── Docu.md ├── Express.md ├── Files.md ├── Languages and Tools.md ├── Model Schemas.md ├── Run Backend.md ├── Run Frontend.md └── Run Prerequisites.md ├── LICENSE ├── README.md ├── Scripts ├── createAndStartDatabase.sh ├── startDatabase.sh └── stopDatabase.sh ├── controllers └── auth.ts ├── data.json ├── dockerfile ├── index.ts ├── models ├── administrator.ts ├── behavior.ts ├── employee.ts ├── index.ts ├── patient.ts ├── program.ts └── report.ts ├── package.json ├── pnpm-lock.yaml ├── prisma └── schema.prisma ├── routes ├── behavior_routes.ts ├── employee_routes.ts ├── index.ts ├── patient_routes.ts ├── program_routes.ts └── report_routes.ts ├── tempCodeRunnerFile ├── tsconfig.json ├── types.ts └── utils └── auth.ts /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /Documentation/CRUD and HTTP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/CRUD and HTTP.md -------------------------------------------------------------------------------- /Documentation/Dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Dependencies.md -------------------------------------------------------------------------------- /Documentation/Docker and MongoDB.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Docker and MongoDB.md -------------------------------------------------------------------------------- /Documentation/Docu.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Docu.md -------------------------------------------------------------------------------- /Documentation/Express.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Express.md -------------------------------------------------------------------------------- /Documentation/Files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Files.md -------------------------------------------------------------------------------- /Documentation/Languages and Tools.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Languages and Tools.md -------------------------------------------------------------------------------- /Documentation/Model Schemas.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Model Schemas.md -------------------------------------------------------------------------------- /Documentation/Run Backend.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Run Backend.md -------------------------------------------------------------------------------- /Documentation/Run Frontend.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Run Frontend.md -------------------------------------------------------------------------------- /Documentation/Run Prerequisites.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Documentation/Run Prerequisites.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/README.md -------------------------------------------------------------------------------- /Scripts/createAndStartDatabase.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Scripts/createAndStartDatabase.sh -------------------------------------------------------------------------------- /Scripts/startDatabase.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Scripts/startDatabase.sh -------------------------------------------------------------------------------- /Scripts/stopDatabase.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/Scripts/stopDatabase.sh -------------------------------------------------------------------------------- /controllers/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/controllers/auth.ts -------------------------------------------------------------------------------- /data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/data.json -------------------------------------------------------------------------------- /dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/dockerfile -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/index.ts -------------------------------------------------------------------------------- /models/administrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/administrator.ts -------------------------------------------------------------------------------- /models/behavior.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/behavior.ts -------------------------------------------------------------------------------- /models/employee.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/employee.ts -------------------------------------------------------------------------------- /models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/index.ts -------------------------------------------------------------------------------- /models/patient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/patient.ts -------------------------------------------------------------------------------- /models/program.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/program.ts -------------------------------------------------------------------------------- /models/report.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/models/report.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /routes/behavior_routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/routes/behavior_routes.ts -------------------------------------------------------------------------------- /routes/employee_routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/routes/employee_routes.ts -------------------------------------------------------------------------------- /routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/routes/index.ts -------------------------------------------------------------------------------- /routes/patient_routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/routes/patient_routes.ts -------------------------------------------------------------------------------- /routes/program_routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/routes/program_routes.ts -------------------------------------------------------------------------------- /routes/report_routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/routes/report_routes.ts -------------------------------------------------------------------------------- /tempCodeRunnerFile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/tempCodeRunnerFile -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types.ts: -------------------------------------------------------------------------------- 1 | export type WithID = T & { id: string }; 2 | -------------------------------------------------------------------------------- /utils/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UTDallasEPICS/ATC-Patient-Management-Backend/HEAD/utils/auth.ts --------------------------------------------------------------------------------