Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
50ac20e
adding migrations
piersolh Sep 14, 2025
749cdab
adding back example env
piersolh Sep 14, 2025
b144c4b
Merge pull request #1 from Code-4-Community/HP-adding-migrations
piersolh Sep 14, 2025
f3d586e
adding comments to explain type error
piersolh Sep 17, 2025
9dc4a94
Merge pull request #24 from Code-4-Community/HP-adding-migrations
piersolh Sep 17, 2025
7cbd8a8
put interceptor decorators in auth controller and module
chnnick Sep 24, 2025
e47cf24
added new application entity and new enums
ItsEricSun Sep 30, 2025
b14ae2a
setting up scaffolding for disciplines entity
piersolh Oct 1, 2025
4cef618
adding seeding and creating a disciplines enum
piersolh Oct 1, 2025
683505a
fixing typo
piersolh Oct 1, 2025
d0cc629
add initial aws module
rayyanmridha Oct 1, 2025
d990085
added admin controller, entity, module, and service
ostepan8 Oct 1, 2025
ab3e30c
small changes to ensure functionality
ostepan8 Oct 1, 2025
0d93119
fix s3 403 error
maxn990 Oct 2, 2025
2962fa2
make sure test doesn't run automatically
rayyanmridha Oct 2, 2025
25719d0
Merge pull request #35 from Code-4-Community/create-application-entity
piersolh Oct 5, 2025
a3ad5b4
Merge pull request #36 from Code-4-Community/HP-create-discipline-entity
piersolh Oct 5, 2025
47af7aa
add get and post Application routes and some clean up of migration fi…
ItsEricSun Oct 8, 2025
0cf8822
controller and service tests for cognito
chnnick Oct 8, 2025
9759078
add application with ID not found error
ItsEricSun Oct 8, 2025
d15bb85
add application not found to tests
ItsEricSun Oct 8, 2025
c64a30f
Merge branch 'main' into create-get-and-post-Application-routes
ItsEricSun Oct 8, 2025
bbdd87e
updated pr for comments
ostepan8 Oct 8, 2025
ce1d5a7
changed the update to only update the email
ostepan8 Oct 9, 2025
3ddea89
make migration dynamic
ostepan8 Oct 9, 2025
28a2dd9
GET and POST Learner Routes + Testing
chnnick Oct 14, 2025
6847ad4
got rid of currentUserInterceptor in controller tests, not sure if ne…
chnnick Oct 14, 2025
5ddac0d
create remove and edit application routes
ItsEricSun Oct 15, 2025
d8b2c29
add tests for new service methods
ItsEricSun Oct 15, 2025
20a224f
install ses
rayyanmridha Oct 27, 2025
48980ca
added patch routes for learner
yumi520 Oct 28, 2025
efa4830
added learner tests
yumi520 Oct 28, 2025
7843b52
Amazon SES tempalte
bodhiYG Oct 31, 2025
0ee55f0
clean up files, add controller, endpoint & tests
rayyanmridha Nov 2, 2025
849129b
remove unnecessary changes
rayyanmridha Nov 2, 2025
be901d4
update env template
rayyanmridha Nov 2, 2025
39f629c
add review card and admin page
rayyanmridha Nov 12, 2025
16c2a80
Merge pull request #31 from Code-4-Community/nc-19-cognito
piersolh Nov 13, 2025
59127a2
Merge pull request #44 from Code-4-Community/rm-15-awsS3Entity
piersolh Nov 13, 2025
239614a
fix up sole card
rayyanmridha Nov 14, 2025
4bc9ce6
fix icon issues
rayyanmridha Nov 14, 2025
cd03126
Update package.json
rayyanmridha Nov 14, 2025
c446b28
Merge branch 'main' into rm-73-review-card
rayyanmridha Nov 14, 2025
7e64ff8
Added AWS bucket name and AWS region as example fields
SamNie2027 Dec 17, 2025
6d58fa1
fix s3 bugs, merge into main
piersolh Dec 17, 2025
6b11c95
Merge pull request #45 from Code-4-Community/admin-scaffolding
piersolh Dec 17, 2025
a82a17b
Merge branch 'main' into nc-19-cognitoTESTS
piersolh Dec 17, 2025
370e08a
Merge pull request #53 from Code-4-Community/nc-19-cognitoTESTS
piersolh Dec 17, 2025
15d81e6
Merge branch 'main' into create-get-and-post-Application-routes
piersolh Dec 17, 2025
ca08357
Merge pull request #54 from Code-4-Community/create-get-and-post-Appl…
piersolh Dec 17, 2025
a0d3c9d
Merge branch 'main' into nc-42-learner
piersolh Dec 17, 2025
87c6fb4
Merge pull request #55 from Code-4-Community/nc-42-learner
piersolh Dec 17, 2025
629eddb
Merge branch 'main' into create-remove-application-&-edit-application…
piersolh Dec 17, 2025
79f163b
Merge pull request #56 from Code-4-Community/create-remove-applicatio…
piersolh Dec 17, 2025
82e0f89
Merge branch 'main' into bg-rm-58-aws-ses
piersolh Dec 17, 2025
12aeda2
update packages
piersolh Dec 17, 2025
3a6f22c
Merge pull request #62 from Code-4-Community/bg-rm-58-aws-ses
piersolh Dec 17, 2025
300e8b1
Merge branch 'main' into yc/49/learner
piersolh Dec 17, 2025
8a633f7
Merge pull request #65 from Code-4-Community/yc/49/learner
piersolh Dec 17, 2025
91f7b8b
Merge branch 'main' into env-improvements
piersolh Dec 17, 2025
5d1a392
Merge pull request #89 from Code-4-Community/env-improvements
piersolh Dec 17, 2025
cc85b52
fix env
piersolh Dec 17, 2025
bbfa598
Merge pull request #90 from Code-4-Community/hp-fix-env
SamNie2027 Dec 17, 2025
9342a12
fixing styling, just make a master card and have everything inherit f…
piersolh Dec 18, 2025
caf2e2f
Merge branch 'main' into rm-73-review-card
piersolh Dec 18, 2025
89d9f56
Merge pull request #76 from Code-4-Community/rm-73-review-card
piersolh Dec 18, 2025
b67cb39
Fixing Discipline entity typo
SamNie2027 Dec 19, 2025
a65345a
Comment cleanup
SamNie2027 Dec 19, 2025
2f855c6
Removal of unnecessary initialization project components
SamNie2027 Dec 19, 2025
ffa8193
Add controller documentation comments
SamNie2027 Dec 23, 2025
9c9069a
Documentation for application DTOs with examples
SamNie2027 Dec 23, 2025
1f12e89
Readding comment for throwing an error if the array is empty (find le…
SamNie2027 Dec 23, 2025
c920144
Add detailed endpoint documentation to controllers
SamNie2027 Dec 24, 2025
5b76952
Entity class descriptions
SamNie2027 Dec 24, 2025
8d6a441
Add and improve JSDoc comments across backend entities and services
SamNie2027 Dec 24, 2025
99a2fd0
Add JSDoc comments and refactor admin DTOs
SamNie2027 Dec 24, 2025
899318e
JSDoc punctuation and consistent formatting
SamNie2027 Dec 24, 2025
6e8781b
Changing path of env vars to load to where example.env is
SamNie2027 Dec 24, 2025
1e92a12
Merge pull request #91 from Code-4-Community/Cleanup
SamNie2027 Dec 24, 2025
c66d599
Merge branch 'main' into 94-add-high-level-documentation-to-the-backend
SamNie2027 Dec 24, 2025
9cc6bdc
Expanded test cases for repo throwing errors, invalid fields, ect. fo…
SamNie2027 Dec 27, 2025
f48c4a8
Added case for handling service error
SamNie2027 Dec 27, 2025
1265b83
Added cases to all methods for checking handling of repo errors
SamNie2027 Dec 27, 2025
1f54ada
Add tests for error handling in AdminsService
SamNie2027 Dec 27, 2025
52611c1
Added automatic cleanup and check using SDK for real S3 bucket upload…
SamNie2027 Dec 27, 2025
97b7899
Throw error instead of logging in S3 test cleanup
SamNie2027 Dec 27, 2025
96bee98
Checking proper error handling when SESWrapper throws an error
SamNie2027 Dec 27, 2025
82f55e0
Fixing broken tests
SamNie2027 Dec 27, 2025
b2baf03
Fixing Typos and some clarificaiton
SamNie2027 Dec 27, 2025
be7f386
Merge pull request #95 from Code-4-Community/94-add-high-level-docume…
rayyanmridha Dec 28, 2025
6d0dbd1
Removal of old CI/CD, adding jest and lint to run for two latest LTS …
SamNie2027 Dec 31, 2025
4b65559
Fixing separation of name from run
SamNie2027 Dec 31, 2025
6ef176a
Define .env in the run and only run lint on latest node version (curr…
SamNie2027 Dec 31, 2025
22093ed
Update jest.yml
SamNie2027 Dec 31, 2025
6415175
Update jest.yml
SamNie2027 Dec 31, 2025
eef69b5
Update jest.yml
SamNie2027 Dec 31, 2025
0284e1d
Update jest.yml
SamNie2027 Dec 31, 2025
e53493e
Update jest.yml
SamNie2027 Dec 31, 2025
63ad847
Update jest.yml
SamNie2027 Dec 31, 2025
40c42e2
Update jest.yml
SamNie2027 Dec 31, 2025
223e8f0
Update jest.yml
SamNie2027 Dec 31, 2025
95de0d1
Removing this branch from ci
SamNie2027 Dec 31, 2025
e7599d7
Implementing small PR changes
SamNie2027 Dec 31, 2025
d383447
Add build run
SamNie2027 Dec 31, 2025
11de220
Update build.yml
SamNie2027 Dec 31, 2025
f93f262
Revert "Update build.yml"
SamNie2027 Dec 31, 2025
b704101
Revert "Add build run"
SamNie2027 Dec 31, 2025
a5ac7ec
Adding .skip and a TODO note for application service invalid fields t…
SamNie2027 Jan 2, 2026
63c5aaa
Merge pull request #96 from Code-4-Community/93-expand-test-cases-in-…
SamNie2027 Jan 2, 2026
a9cfdc0
Merge branch 'main' into 97-github-actions---automatic-lint-and-test-…
SamNie2027 Jan 2, 2026
a0fb519
Simplify Node.js version setup in Jest workflow
SamNie2027 Jan 3, 2026
84765e5
Merge pull request #98 from Code-4-Community/97-github-actions---auto…
rayyanmridha Jan 3, 2026
0fa385e
Create frontend_build.yml
SamNie2027 Jan 5, 2026
f08803b
Update frontend_build.yml
SamNie2027 Jan 5, 2026
c171e9c
Update frontend_build.yml
SamNie2027 Jan 5, 2026
a815a2e
Update frontend_build.yml
SamNie2027 Jan 5, 2026
add9058
Update frontend_build.yml
SamNie2027 Jan 5, 2026
cb9d8fb
Replacing wait-on with a sleep
SamNie2027 Jan 5, 2026
b446ace
Breaking frontend on purpose to see behavior
SamNie2027 Jan 5, 2026
f600474
Adding backend build, replacing "nx serve" with "nx build"
SamNie2027 Jan 9, 2026
068e4d8
Add TODO comment to break backend for GitHub Actions
SamNie2027 Jan 9, 2026
6439e22
Add TODO comment to DashboardCard component
SamNie2027 Jan 9, 2026
2e2416e
Revert "Add TODO comment to break backend for GitHub Actions"
SamNie2027 Jan 9, 2026
baa3976
Revert "Add TODO comment to DashboardCard component"
SamNie2027 Jan 9, 2026
c303236
Changing remaining workflows to only run on push/pull for main
SamNie2027 Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Backend build

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use NodeJS 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: 'yarn'

- name: Create .env file
run: |

echo "AWS_BUCKET_NAME=dummy" >> .env
echo "AWS_SECRET_ACCESS_KEY=dummy" >> .env
echo "AWS_ACCESS_KEY_ID=dummy" >> .env
echo "AWS_REGION=us-east-2" >> .env

- name: Install Dependencies
run: yarn install

- name: Build backend
run: npx nx build backend
113 changes: 0 additions & 113 deletions .github/workflows/ci-cd.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/frontend_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Frontend build

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use NodeJS 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: 'yarn'

- name: Create .env file
run: |

echo "AWS_BUCKET_NAME=dummy" >> .env
echo "AWS_SECRET_ACCESS_KEY=dummy" >> .env
echo "AWS_ACCESS_KEY_ID=dummy" >> .env
echo "AWS_REGION=us-east-2" >> .env

- name: Install Dependencies
run: yarn install

- name: Build frontend
run: npx nx build frontend
35 changes: 35 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Jest run

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use NodeJS 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: 'yarn'

- name: Create .env file
run: |

echo "AWS_BUCKET_NAME=dummy" >> .env
echo "AWS_SECRET_ACCESS_KEY=dummy" >> .env
echo "AWS_ACCESS_KEY_ID=dummy" >> .env
echo "AWS_REGION=us-east-2" >> .env

- name: Install Dependencies
run: yarn install

- name: Run Jest tests
run: yarn test
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Linter run

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: 'yarn'

- name: Install Dependencies
run: yarn install

- name: Run linter
run: yarn lint
1 change: 0 additions & 1 deletion apps/backend/src/app.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Test, TestingModule } from '@nestjs/testing';

import { AppController } from './app.controller';
import { AppService } from './app.service';

Expand Down
3 changes: 3 additions & 0 deletions apps/backend/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { Controller, Get } from '@nestjs/common';

import { AppService } from './app.service';

/**
* Higher-level controller that exposes all sub-controller endpoints.
*/
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
Expand Down
28 changes: 24 additions & 4 deletions apps/backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,32 @@ import { TypeOrmModule } from '@nestjs/typeorm';

import { AppController } from './app.controller';
import { AppService } from './app.service';
import { TaskModule } from './task/task.module';
import { AWSS3Module } from './aws-s3/aws-s3.module';
import AppDataSource from './data-source';
import { UtilModule } from './util/util.module';
import { ApplicationsController } from './applications/applications.controller';
import { ApplicationsService } from './applications/applications.service';
import { Application } from './applications/application.entity';
import { AdminsModule } from './users/admins.module';
import { Admin } from './users/admin.entity';
import { ConfigModule } from '@nestjs/config';

@Module({
imports: [TypeOrmModule.forRoot(AppDataSource.options), TaskModule],
controllers: [AppController],
providers: [AppService],
imports: [
ConfigModule.forRoot({
isGlobal: true,
envFilePath: '../../.env',
}),
TypeOrmModule.forRoot({
...AppDataSource.options,
entities: [Admin],
}),
UtilModule,
AdminsModule,
AWSS3Module,
TypeOrmModule.forFeature([Application]),
],
controllers: [AppController, ApplicationsController],
providers: [AppService, ApplicationsService],
})
export class AppModule {}
Loading