Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
504 commits
Select commit Hold shift + click to select a range
67b3725
Merge pull request #38 from Code-4-Community/acw/SSF-23-refactor-moda…
amywng Oct 3, 2025
92f1035
wip
amywng Oct 4, 2025
12948b1
remove debug file
amywng Oct 4, 2025
d2dbb5a
fix multi checkbox, add loader
amywng Oct 5, 2025
a7f0049
prettier
amywng Oct 5, 2025
176da5c
added create user endpoint and unit tests for users
bhuvanh66 Oct 5, 2025
8ed4eaa
fixed date issue
skewalia Oct 5, 2025
32e5f10
add required indicators to pantry application form
amywng Oct 5, 2025
90c192c
Merge branch 'main' of https://github.com/Code-4-Community/ssf into B…
bhuvanh66 Oct 6, 2025
c6a60ca
added Volunteer Management page + minor rearranging of page grouping
bhuvanh66 Oct 8, 2025
2b851ff
Merge branch 'main' into acw/SSF-10-admin-donation-view
amywng Oct 8, 2025
3f81e79
Fixed testing format
dburkhart07 Oct 8, 2025
4367895
fix bugs
amywng Oct 8, 2025
51d4113
prettier
amywng Oct 8, 2025
89ca6a5
requested changes
amywng Oct 9, 2025
8eb40ad
fix volunteer management filter to match admin donation filtering
amywng Oct 9, 2025
989a029
prettier
amywng Oct 9, 2025
55d9028
Merge pull request #41 from Code-4-Community/BH/SSF-22-temporary-site…
bhuvanh66 Oct 9, 2025
1a43b86
fix frontend types
amywng Oct 9, 2025
13c0472
Merge branch 'main' into acw/SSF-9-backend-donations
amywng Oct 9, 2025
2de0823
merge main and add admin donation to homepage
amywng Oct 9, 2025
0eca462
Merge branch 'main' into acw/SSF-10-admin-donation-view
amywng Oct 9, 2025
7618031
prettier
amywng Oct 9, 2025
e028526
Merge branch 'main' into sk/SSF-55-request-form-bug
swarkewalia Oct 9, 2025
dd0e61c
fix food manufacturer frontend type
amywng Oct 10, 2025
1ef8c4b
Merge pull request #45 from Code-4-Community/acw/SSF-9-backend-donations
amywng Oct 10, 2025
a3a3a8a
Merge branch 'main' into acw/SSF-10-admin-donation-view
amywng Oct 10, 2025
c4489fd
Resolved Sam comments
dburkhart07 Oct 12, 2025
d34d15b
Added partial type casting
dburkhart07 Oct 12, 2025
3fb7724
Final
dburkhart07 Oct 12, 2025
27f626d
Added documentation for parameter querying
dburkhart07 Oct 12, 2025
168a888
adding enum types
Juwang110 Oct 14, 2025
6632978
Fixed route naming
dburkhart07 Oct 14, 2025
f664142
Resolved mergec conflicts
dburkhart07 Oct 14, 2025
8f54a41
Merge pull request #40 from Code-4-Community/ddb/SSF-7-order-manageme…
dburkhart07 Oct 14, 2025
80d8ad3
fix delivery confirmation modal nav
amywng Oct 15, 2025
40b6e7f
adding enum types to db
Juwang110 Oct 15, 2025
aa3ae4d
updating enums to account for byte limit in db for enum labels
Juwang110 Oct 15, 2025
3174dd3
Merge branch 'main' into sk/SSF-55-request-form-bug
swarkewalia Oct 17, 2025
1847fce
updating all usages to account for enum
Juwang110 Oct 17, 2025
b53fafc
changed date format
swarkewalia Oct 17, 2025
cf40555
Merge branch 'sk/SSF-55-request-form-bug' of https://github.com/Code-…
swarkewalia Oct 17, 2025
d25cb37
added 2nd user to user unit tests + installed jest
bhuvanh66 Oct 19, 2025
09831fb
added functionality for endpoint to get all orders for a particular p…
bhuvanh66 Oct 19, 2025
3cf94b6
Convert col types to enums in db migration
Juwang110 Oct 19, 2025
295d792
Resolve merge conflicts
sam-schu Oct 19, 2025
9a69ba5
Combine types files
sam-schu Oct 21, 2025
87939e0
adding user role enum
Juwang110 Oct 22, 2025
2a0e13a
minor refactoring
Juwang110 Oct 22, 2025
a95fd23
Merge branch 'main' into jw/SSF-54-backend-enums
Juwang110 Oct 22, 2025
29d1183
Add ApiBody for Swagger
sam-schu Oct 23, 2025
e220929
Delete file from merge
sam-schu Oct 23, 2025
0336360
Update comment
sam-schu Oct 23, 2025
084ea0a
Merge pull request #34 from Code-4-Community/sts/pantry-form-backend
sam-schu Oct 24, 2025
83d8256
rename app to module in spec.ts
Juwang110 Oct 24, 2025
0d5d22e
Fixing database entity inconsistencies based on notes
Juwang110 Oct 26, 2025
af99ed0
fixed api call pattern
swarkewalia Oct 27, 2025
21922a1
fixed consistency
skewalia Oct 29, 2025
a3d8a52
refactored tests to use mock
bhuvanh66 Oct 29, 2025
854c832
refactoring
Juwang110 Oct 29, 2025
2825d0d
making item_id not nullable in allocations
Juwang110 Oct 29, 2025
95e31bb
combining related db queries by table
Juwang110 Oct 29, 2025
edff0cb
merge main
amywng Oct 31, 2025
f1972fe
review comments
amywng Oct 31, 2025
27bf440
Merge branch 'main' into jw/SSF-26-backend-donation-totals
Juwang110 Oct 31, 2025
b249d19
added test script
bhuvanh66 Nov 2, 2025
2869b46
Merge pull request #50 from Code-4-Community/sk/SSF-55-request-form-bug
swarkewalia Nov 4, 2025
1072296
Merge pull request #59 from Code-4-Community/sk/SSF-24-refactor-reque…
swarkewalia Nov 4, 2025
b95a224
Fix broken tests
sam-schu Nov 5, 2025
b2614da
Merge pull request #61 from Code-4-Community/BH/SSF-17-add-test-script
bhuvanh66 Nov 6, 2025
aeac7aa
Merge pull request #39 from Code-4-Community/jw/SSF-26-backend-donati…
Juwang110 Nov 6, 2025
480248b
Remove dependency & regen lockfile
sam-schu Nov 7, 2025
be5d6d0
refactoring to use donation relation instead of id
Juwang110 Nov 7, 2025
16f9524
fix test
Juwang110 Nov 7, 2025
60ebef3
Merge branch 'main' into jw/SSF-54-backend-enums
Juwang110 Nov 8, 2025
298d8fa
user tests fixes
bhuvanh66 Nov 9, 2025
018e4e6
Merge pull request #64 from Code-4-Community/jw/SSF-26-fix-donation-s…
Juwang110 Nov 9, 2025
ecb21b9
Merge branch 'main' into sts/regen-lockfile
sam-schu Nov 9, 2025
60beb3c
Initial changes
dburkhart07 Nov 9, 2025
0223a85
dto minor fixes + removing role optional
bhuvanh66 Nov 10, 2025
56220d9
reverted dependencies
bhuvanh66 Nov 10, 2025
fcfc780
db pantry table/entity updates
swarkewalia Nov 10, 2025
16d8645
updated usages in code
swarkewalia Nov 10, 2025
68e9ea3
Merge branch 'main' of https://github.com/Code-4-Community/ssf into B…
bhuvanh66 Nov 10, 2025
89e4753
changed test description and reverted yarn lock file
bhuvanh66 Nov 11, 2025
74b93b1
removed optional role in service and updated tests
bhuvanh66 Nov 11, 2025
8ab120a
todo item
swarkewalia Nov 11, 2025
3e6fdeb
Initial testing changes
dburkhart07 Nov 11, 2025
9e62a9a
Commit
dburkhart07 Nov 11, 2025
a46b272
reverted yarn lock
bhuvanh66 Nov 11, 2025
feec7e4
Merge branch 'main' of https://github.com/Code-4-Community/ssf into B…
bhuvanh66 Nov 11, 2025
21d4939
typeorm file changes
swarkewalia Nov 11, 2025
29f9eb4
Merge pull request #49 from Code-4-Community/BH/ssf-53-create-user-en…
bhuvanh66 Nov 11, 2025
fef783f
Merge branch 'main' of https://github.com/Code-4-Community/ssf into B…
bhuvanh66 Nov 12, 2025
4aefefe
added barebones controller spec
bhuvanh66 Nov 12, 2025
0bc0405
added test for get orders
bhuvanh66 Nov 12, 2025
0971ca1
added dummy data for testing
dburkhart07 Nov 15, 2025
15341a2
Merge branch 'main' into acw/SSF-10-admin-donation-view
amywng Nov 15, 2025
61795b1
Fix typeorm CLI issue
sam-schu Nov 18, 2025
8cce9c4
Merge branch 'main' into sts/regen-lockfile
sam-schu Nov 18, 2025
47163ab
Merge pull request #63 from Code-4-Community/sts/regen-lockfile
dburkhart07 Nov 18, 2025
c55b600
Merge branch 'main' into acw/SSF-10-admin-donation-view
amywng Nov 18, 2025
457021c
review comments
amywng Nov 18, 2025
2957717
revert typeorm version upgrade
amywng Nov 18, 2025
04e7d80
Merge branch 'main' into sk/SSF-82-pantry-user-refactoring
swarkewalia Nov 18, 2025
ab9cd1f
linting
amywng Nov 18, 2025
a025667
Merge branch 'main' into jw/SSF-54-backend-enums
amywng Nov 18, 2025
b9cf998
Merge branch 'main' into jw/SSF-80-database-backend-inconsistencies
amywng Nov 18, 2025
ce45d53
add and fix fonts
amywng Nov 19, 2025
8882f31
fix cell spacing
amywng Nov 19, 2025
1b59390
Merge pull request #46 from Code-4-Community/acw/SSF-10-admin-donatio…
amywng Nov 19, 2025
31b32b3
frontend for food request form
Juwang110 Nov 19, 2025
70e7463
Merge branch - resolve conflicts
swarkewalia Nov 19, 2025
7e573f9
Merge branch 'sk/SSF-82-pantry-user-refactoring' of https://github.co…
swarkewalia Nov 19, 2025
c8b7690
Merge branch 'main' into sk/SSF-82-pantry-user-refactoring
swarkewalia Nov 19, 2025
da318a9
merge changes
swarkewalia Nov 19, 2025
42fd976
Remove extra files
swarkewalia Nov 19, 2025
697ce83
gitignore cache files
swarkewalia Nov 19, 2025
1cc8987
Review fixes
swarkewalia Nov 19, 2025
99a4e98
adding validate Id call for donation items route
Juwang110 Nov 19, 2025
0a65da8
Merge pull request #60 from Code-4-Community/jw/SSF-80-database-backe…
Juwang110 Nov 19, 2025
04adc3c
Refactoring type status names to be singular, updating swagger api bo…
Juwang110 Nov 19, 2025
5725348
merge main in branch and fix dependency files
swarkewalia Nov 20, 2025
a1e736a
fix gitignore
swarkewalia Nov 20, 2025
80ce71f
Resolved merge conflicts
dburkhart07 Nov 21, 2025
92686b6
Resolved merge conflicts
dburkhart07 Nov 21, 2025
4d3d693
Completed proper pipeline for dummy testing data
dburkhart07 Nov 21, 2025
ec2fb63
Testing the action CI workflow
dburkhart07 Nov 21, 2025
c5c7b9b
Simplified workflow
dburkhart07 Nov 21, 2025
294e85e
Testing workflow with securing-safe-food-test deleted
dburkhart07 Nov 21, 2025
a474507
Updated README
dburkhart07 Nov 21, 2025
3cc1010
Restored theme.ts
dburkhart07 Nov 21, 2025
dc6aa8c
Final commit
dburkhart07 Nov 21, 2025
9d477a3
Fixing various visual elements
Juwang110 Nov 22, 2025
5df7659
Adding ReserveFoodForAllergic enum, cleaning up pantry backend to acc…
Juwang110 Nov 22, 2025
43ca4f6
Fixing pantry app form, bolstering enum logic for ordersService.updat…
Juwang110 Nov 22, 2025
6db65db
adding backend enum types to frontend types.ts
Juwang110 Nov 22, 2025
2dabe61
Merge branch 'main' into jw/SSF-54-backend-enums
Juwang110 Nov 22, 2025
256fe66
Fixing request form modal
Juwang110 Nov 22, 2025
829cc0f
fixed extra space
swarkewalia Nov 22, 2025
0d607b7
add constraint
swarkewalia Nov 22, 2025
0855f8f
Fixed ssf rep id
dburkhart07 Nov 23, 2025
d0c07ef
Greyed out continue button whenn fields not filled, minor refactoring
Juwang110 Nov 23, 2025
3003270
Minor Enum edits and refactoring for syntax
Juwang110 Nov 23, 2025
8d2162a
Merge pull request #65 from Code-4-Community/sk/SSF-82-pantry-user-re…
dburkhart07 Nov 23, 2025
1dd551f
changed name of get pantry orders route
bhuvanh66 Nov 24, 2025
bfd9eb6
New pantry types file, updating pantry types to use enums
Juwang110 Nov 24, 2025
d228999
fix jest tests
Juwang110 Nov 24, 2025
1c3e185
adding optional/nullable for applicable pantry fields
Juwang110 Nov 24, 2025
1d574f0
Adding activity enum to db, editing type to fit as enum in db,
Juwang110 Nov 24, 2025
a5d7c3d
Merge branch 'main' into jw/SSF-54-backend-enums
Juwang110 Nov 24, 2025
85d0cdc
Removing allergy friendly storage enum and converting col to bool type
Juwang110 Nov 24, 2025
d8b0e5c
Refactoring to move pantry and dto to types.ts
Juwang110 Nov 25, 2025
2d9bf6b
Merge pull request #68 from Code-4-Community/main
Juwang110 Nov 25, 2025
6f67fb3
Refactoring modal to match figma more accurately
Juwang110 Nov 25, 2025
790b195
adding commas for syntax
Juwang110 Nov 25, 2025
5f0ccdb
Merge pull request #57 from Code-4-Community/jw/SSF-54-backend-enums
Juwang110 Nov 26, 2025
09b104c
clean ref
Juwang110 Nov 26, 2025
544921b
Merge pull request #69 from Code-4-Community/jw/clean-deleted-enum-ref
Juwang110 Nov 26, 2025
eb5b3d1
Various refactoring to align to figma
Juwang110 Nov 27, 2025
8841d9d
Different title and body if order is resubmitted
Juwang110 Nov 27, 2025
56135d3
Merge branch 'main' into jw/SSF-57-request-food-form-frontend
Juwang110 Nov 27, 2025
1f9798a
refactoring modal to use defined types
Juwang110 Nov 27, 2025
e4c9dab
Moving continue button to left
Juwang110 Nov 28, 2025
446561f
Add migration create command
sam-schu Nov 28, 2025
ba83b15
Fix timestamp
sam-schu Nov 28, 2025
e91a129
Update down migration
sam-schu Nov 29, 2025
3588e1c
minor visual refactoring
Juwang110 Nov 29, 2025
12d2b00
Merge pull request #71 from Code-4-Community/sts/fix-migration-timestamp
sam-schu Nov 29, 2025
ae30b25
Merge branch 'main' of https://github.com/Code-4-Community/ssf into B…
bhuvanh66 Nov 30, 2025
6a9fa35
Merge branch 'main' of https://github.com/Code-4-Community/ssf into B…
bhuvanh66 Nov 30, 2025
67a89f4
added partial order for controller test
bhuvanh66 Nov 30, 2025
02265fc
added OrdersModule to Pantries Module import
bhuvanh66 Nov 30, 2025
0f5c180
import fixes and cleanup of findOrderDonation and donation column
bhuvanh66 Nov 30, 2025
4176de3
added donation_id to donation items entity
bhuvanh66 Nov 30, 2025
39942e4
Merge pull request #56 from Code-4-Community/BH/SSF-13-order-manageme…
bhuvanh66 Nov 30, 2025
76c15a5
added orders service export to order module
bhuvanh66 Nov 30, 2025
d7882a0
Merge pull request #73 from Code-4-Community/BH/added-exports-to-orde…
amywng Nov 30, 2025
9e74ada
rebase main
amywng Nov 2, 2025
d8fc4dc
remove console logs
amywng Nov 2, 2025
b7c6466
review comments and changing db schema
amywng Nov 2, 2025
f7596a1
prettier
amywng Nov 6, 2025
a773aa7
prettier
amywng Nov 26, 2025
21e5d07
pantry app pt. 2
amywng Nov 26, 2025
0f6c288
prettier
amywng Nov 26, 2025
de76192
remove duplicate jest-mock-extended
amywng Nov 26, 2025
7379ca5
review comments
amywng Nov 28, 2025
30e382f
prettier
amywng Nov 28, 2025
33120e1
review comments
amywng Nov 29, 2025
24a758c
review comments
amywng Nov 29, 2025
a4cb1a5
fix text colors
amywng Nov 30, 2025
1786323
add back migration
amywng Nov 30, 2025
50b0bc3
volunteer backend updates minus tests
amywng Oct 9, 2025
e54b6a3
review comments
amywng Oct 11, 2025
d892138
review comments
amywng Nov 26, 2025
297797d
prettier
amywng Nov 26, 2025
1bea938
add tests and prettier
amywng Nov 26, 2025
50b174f
prettier
amywng Nov 26, 2025
1a74893
review comments
amywng Nov 27, 2025
38b0641
review comments
amywng Nov 28, 2025
2db8cec
change to singular repo
amywng Nov 28, 2025
8038102
change to singular repo
amywng Nov 28, 2025
b2d2642
remove unnecessary logic check
amywng Nov 28, 2025
32fb226
add many to many relation and remove direct usage of pantry repo
amywng Nov 29, 2025
5d83fb8
remove volunteer assignment route and assigning duplicate pantries
amywng Nov 29, 2025
20e91e8
prettier
amywng Nov 29, 2025
b2a6074
switch colon to comma in migration
amywng Nov 30, 2025
62e7416
update user service methods and frontend types
amywng Nov 30, 2025
76c4a47
prettier
amywng Nov 30, 2025
e49ef20
review comments
amywng Dec 2, 2025
33ba0a0
Refactoring modal to align with figma design for view information case
Juwang110 Dec 3, 2025
2421a4f
Removing check indicator and moving request size options to the left
Juwang110 Dec 4, 2025
7310b49
fixing margins for description text for view information case
Juwang110 Dec 4, 2025
9d274e5
remove redundant validation
amywng Dec 4, 2025
bc0f539
Merge pull request #52 from Code-4-Community/acw/SSF-64-volunteer-bac…
amywng Dec 4, 2025
7b72285
merge main
amywng Dec 4, 2025
7eeb19a
visual refactoring
Juwang110 Dec 4, 2025
ef9ec15
fix phone logic
amywng Dec 4, 2025
e459ada
minor refactoring
Juwang110 Dec 4, 2025
f386309
prettier
Juwang110 Dec 4, 2025
efee6f4
switch multi-checkbox components
amywng Dec 5, 2025
8e85457
prettier
amywng Dec 5, 2025
1a42d84
add comment about phone logic
amywng Dec 5, 2025
6076545
Merge pull request #62 from Code-4-Community/acw/SSF-71-pantry-app-fr…
amywng Dec 5, 2025
d6f3a40
Merge pull request #66 from Code-4-Community/jw/SSF-57-request-food-f…
Juwang110 Dec 5, 2025
0ffb615
dependabot updates (#74)
bhuvanh66 Dec 7, 2025
76319ab
Removing unused statuses (#81)
Juwang110 Dec 9, 2025
28e0b7d
[SSF-51] Food request backend tests (#53)
dburkhart07 Dec 14, 2025
36d91e8
security issues
amywng Dec 27, 2025
98fa174
[SSF-105] Combine Standard and Lead Volunteers (#78)
dburkhart07 Jan 6, 2026
6878930
SSF-92 Volunteer Management Frontend and Add New Volunteer Modal (#80)
Juwang110 Jan 12, 2026
4b33e8b
Login page frontend (#33)
Juwang110 Jan 18, 2026
eb93148
[SSF-22] Create Dummy Data for Database (#48)
bhuvanh66 Jan 18, 2026
c80fe92
Ddb/ssf 8 admin order management frontend (#51)
dburkhart07 Jan 18, 2026
bed4144
[SSF-108] Pantry food request management backend updates (#82)
Juwang110 Jan 25, 2026
91a8057
Revert "[SSF-108] Pantry food request management backend updates (#82…
Juwang110 Jan 25, 2026
d7c9b68
[SSF-108] Pantry food request management backend (#93)
Juwang110 Jan 25, 2026
67ead3d
[SSF-79] Improve Peformance for Log New Donation Form Modal (#58)
dburkhart07 Jan 26, 2026
2f575a3
Moved migrations to constant file for easy refactoring
dburkhart07 Jan 30, 2026
85ff2df
prettier
dburkhart07 Jan 30, 2026
e7f9c02
Merged main
dburkhart07 Jan 30, 2026
5bd6ce2
Final commit
dburkhart07 Jan 30, 2026
4f0642c
prettier
dburkhart07 Jan 30, 2026
bfcb073
Changes, still working on getting testing working
dburkhart07 Feb 1, 2026
d09f888
prettier
dburkhart07 Feb 1, 2026
050c9aa
Readjusted testing approach
dburkhart07 Feb 2, 2026
365a6d3
final commit
dburkhart07 Feb 2, 2026
509a5dd
Fixed schema migrations
dburkhart07 Feb 2, 2026
64fcf76
added prettier
swarkewalia Feb 4, 2026
83edbbd
ran prettier write and committing prettier fixes
swarkewalia Feb 4, 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
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=securing-safe-food
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=PLACEHOLDER_PASSWORD
13 changes: 7 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
### ℹ️ Issue

Closes <issue>
Closes <link to ticket here>

### 📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

Briefly list the changes made to the code:
1. Added support for this.
2. And removed redunant use of that.
3. Also this was included for reasons.
Now, describe the code changes you made to support this. Be specific! This includes describing any design decisions you had to make, and referencing specific classes, files, components, etc., where you made particular changes.

**If you added or modified a page on the frontend, please include its path - e.g., `/pantry-application`. If you added or modified a backend endpoint, please include the HTTP method and the route - e.g., `POST /api/pantries`.** This will make it easier for other people to find and test out your new addition!

### ✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.

Provide screenshots of any new components, styling changes, or pages.
Describe any new unit tests you added.

Provide screenshots of any new components, styling changes, or pages.

### 🏕️ (Optional) Future Work / Notes

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on: [push, pull_request]

jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install
- run: yarn prettier:check
backend-tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_DB: securing-safe-food-test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
env:
DATABASE_HOST: 127.0.0.1
DATABASE_PORT: 5432
DATABASE_NAME_TEST: securing-safe-food-test
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
NX_DAEMON: 'false'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install
- run: npx jest


113 changes: 0 additions & 113 deletions .github/workflows/ci-cd.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ npm-debug.log
yarn-error.log
testem.log
/typings
.nx

# System Files
.DS_Store
Expand All @@ -41,3 +42,4 @@ Thumbs.db
# Environment file
*.env
*.env.*
!.env.example
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

36 changes: 20 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
# Scaffolding
# Securing Safe Food

<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
## Environment Setup

✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨
We use yarn for dependency management. Install app dependencies by running this command at the repo root (`ssf`):

## Start the app

To start the development server run `nx serve frontend`. Open your browser and navigate to http://localhost:4200/. Happy coding!
```
yarn install
```

## Running tasks
To set up your backend, follow the backend-specific instructions [here](apps/backend/README.md).

To run just the frontend (port 4200):
\*Note: you may need to prefix your `nx` commands with `npx`. For example, to serve the frontend, if:

```
nx serve frontend
```

To run just the backend (port 3000):
doesn't work, try:

```
nx serve backend
npx nx serve frontend
```

To run both the frontend and backend with one command:
## Start the app

To start the development server, run one of the following commands:

- To run the frontend at http://localhost:4200/: `nx serve frontend`
- To run the backend at http://localhost:3000/: `nx serve backend`
- The homepage includes the Swagger API documentation.

You can also run both the frontend and backend with one command:

```
nx run-many -t serve -p frontend backend
```

## Other commands

Run `git submodule update --remote` to pull the latest changes from the component library

When cloning the repo, make sure to add the `--recurse-modules` flag to also clone the component library submodule (e.g. `git clone --recurse-submodules https://github.com/Code-4-Community/scaffolding.git` for the `scaffolding` repo)
The locally hosted frontend and backend will update live as you make changes to the code. Happy coding!
18 changes: 0 additions & 18 deletions apps/backend-e2e/.eslintrc.json

This file was deleted.

19 changes: 0 additions & 19 deletions apps/backend-e2e/jest.config.ts

This file was deleted.

23 changes: 0 additions & 23 deletions apps/backend-e2e/project.json

This file was deleted.

10 changes: 0 additions & 10 deletions apps/backend-e2e/src/apps/backend/apps/backend.spec.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/backend-e2e/src/support/global-setup.ts

This file was deleted.

7 changes: 0 additions & 7 deletions apps/backend-e2e/src/support/global-teardown.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/backend-e2e/src/support/test-setup.ts

This file was deleted.

13 changes: 0 additions & 13 deletions apps/backend-e2e/tsconfig.json

This file was deleted.

9 changes: 0 additions & 9 deletions apps/backend-e2e/tsconfig.spec.json

This file was deleted.

Loading
Loading