Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
794d075
Merge pull request #3 from CS3203-Project/y2
Yasith763 Aug 4, 2025
cf734e2
Merge pull request #4 from CS3203-Project/y2
Yasith763 Aug 5, 2025
483cc80
change to typescript
UmeshaJayakody Aug 6, 2025
486be90
Merge pull request #7 from CS3203-Project/Umesha
UmeshaJayakody Aug 6, 2025
489c707
refactor: update Dockerfile to install TypeScript and run transpiled …
UmeshaJayakody Aug 6, 2025
17a918e
Merge pull request #8 from CS3203-Project/Umesha
UmeshaJayakody Aug 6, 2025
44a10ad
Merge pull request #9 from CS3203-Project/main
Yasith763 Aug 9, 2025
0fc915e
feat: add getProviderById endpoint and validation schema
Yasith763 Aug 9, 2025
3a41735
Merge pull request #10 from CS3203-Project/yasith_new
Yasith763 Aug 9, 2025
e348316
added userSearch api for chat purposes
indunil-k Aug 10, 2025
40c3e88
Merge branch 'main' of https://github.com/CS3203-Project/backend
indunil-k Aug 10, 2025
704b0c9
feat: integrate AWS S3 for user profile image uploads
UmeshaJayakody Aug 20, 2025
26851f9
feat: add upload image endpoint with S3 integration
UmeshaJayakody Aug 20, 2025
b51d17b
feat: enhance seed process to read categories from JSON and create ma…
UmeshaJayakody Aug 20, 2025
f4172ea
messaging, email DB simplified
indunil-k Aug 20, 2025
f0a0930
merge error resolved
indunil-k Aug 20, 2025
b5f4571
customerRating done
indunil-k Aug 20, 2025
1a57e3f
feat: implement review management service with create, update, delete…
UmeshaJayakody Aug 21, 2025
0f174ee
feat: add AWS PostgreSQL connection
UmeshaJayakody Aug 21, 2025
b90000c
feat: implement database creation script for PostgreSQL
UmeshaJayakody Aug 21, 2025
5fff24f
feat: add admin user creation and provider verification functionalities
UmeshaJayakody Aug 21, 2025
87a6991
feat: implement admin creation testing script with initial and regula…
UmeshaJayakody Aug 21, 2025
da930ff
add verify is true in test mode
UmeshaJayakody Aug 21, 2025
14eb37b
feat: add database connection testing script
UmeshaJayakody Aug 21, 2025
a13ad41
fix: resolve connection pool timeout issues by implementing a singlet…
UmeshaJayakody Aug 21, 2025
85e6a32
chore: remove outdated troubleshooting and performance optimization d…
UmeshaJayakody Aug 21, 2025
2045699
refactor: remove caching implementation and related code for performa…
UmeshaJayakody Aug 21, 2025
dfdb99a
refactor: update dependencies, remove unused files, and optimize heal…
UmeshaJayakody Aug 22, 2025
7636246
feat: add comprehensive category dataset with detailed subcategories …
UmeshaJayakody Aug 23, 2025
0b7d48c
migrate S3 integration to AWS SDK v3
UmeshaJayakody Aug 23, 2025
e736906
Merge pull request #17 from CS3203-Project/fastOne
Yasith763 Aug 25, 2025
c996a33
Merge pull request #19 from CS3203-Project/yasith_new
UmeshaJayakody Aug 26, 2025
596a8b1
almost done
indunil-k Aug 29, 2025
f73d487
message done
indunil-k Aug 29, 2025
be658da
Merge branch 'main' of https://github.com/CS3203-Project/backend
indunil-k Aug 29, 2025
3d153b4
updated to integrate message functionalities.. getUserByIdController …
indunil-k Aug 29, 2025
9b9c7e8
n
indunil-k Aug 29, 2025
0fddc9c
Update AWS SDK dependencies in package.json
Yasith763 Sep 2, 2025
c8d6c3d
provider form error resolved
indunil-k Sep 4, 2025
5181876
n
indunil-k Sep 4, 2025
1b8375f
confirmation record
indunil-k Sep 4, 2025
6699737
confirmation record almost done
indunil-k Sep 4, 2025
bed2411
both confirmaton and messaging real-time features to use a single Web…
indunil-k Sep 5, 2025
2eb909b
for development purpose rate limiting increased
indunil-k Sep 5, 2025
eed59ee
reviews to customers done. schema and routes updated
indunil-k Sep 5, 2025
683b5fe
service rating done
indunil-k Sep 5, 2025
814c3dc
service review feature: fetch reviews, display average rating, filter…
indunil-k Sep 5, 2025
e0bf9ef
rating for provider profile page
indunil-k Sep 5, 2025
fa1c5bf
service video adding funcionality
indunil-k Sep 7, 2025
c82529a
queue service, purge queue script, test email connection script
indunil-k Sep 8, 2025
4988ed4
email all doneAdd email monitoring script
indunil-k Sep 10, 2025
7714313
feat: add admin management functionality
Yasith763 Sep 11, 2025
d10e9fa
chatbot feature added as a separate module
indunil-k Sep 11, 2025
4e01067
Merge branch 'main' of https://github.com/CS3203-Project/backend
indunil-k Sep 11, 2025
e64cc0a
chatbot added
indunil-k Sep 11, 2025
06d7343
sementic search: for service embedding retrieval and similarity search
indunil-k Sep 12, 2025
d175e51
feat: include service count in category retrieval functions
UmeshaJayakody Sep 14, 2025
4678ba5
feat: add option to include services in root category retrieval
UmeshaJayakody Sep 14, 2025
b34a110
refactor: remove redundant select fields in category retrieval functions
UmeshaJayakody Sep 14, 2025
0884427
Add comprehensive user service and authentication tests
UmeshaJayakody Sep 18, 2025
0459ce6
up to date with 'origin/main'
indunil-k Oct 1, 2025
6f103c9
uptodate
UmeshaJayakody Oct 8, 2025
b834489
chore: add .env to .gitignore and create .env.example
UmeshaJayakody Oct 8, 2025
78bbad0
feat: add dotenv-cli dependency and update isVerified default to fals…
UmeshaJayakody Oct 8, 2025
1c40b83
clear and update to delpoy
indunil-k Oct 9, 2025
6dadfaa
feat: add @googlemaps/google-maps-services-js dependency
UmeshaJayakody Oct 9, 2025
19a9e4d
Add Google Maps API and types dependencies
Yasith763 Oct 9, 2025
59d0133
Merge branch 'main' of https://github.com/CS3203-Project/backend
Yasith763 Oct 9, 2025
6276cb0
Add Stripe payment system integration
Yasith763 Oct 9, 2025
5528c33
just error resolvings
indunil-k Oct 9, 2025
7b0a712
Switch currency from USD to LKR across payment modules
Yasith763 Oct 9, 2025
b3380a9
Add payment analytics endpoints for admin
Yasith763 Oct 9, 2025
2b400e9
Merge pull request #31 from CS3203-Project/y-payment
Yasith763 Oct 9, 2025
d14a67d
payment
indunil-k Oct 10, 2025
af8436f
main flow done
indunil-k Oct 10, 2025
364937f
bell icon done Add notification service, controller, and route
indunil-k Oct 10, 2025
1ba6adb
just migrations for service request table
indunil-k Oct 10, 2025
da07503
back to initial DB
indunil-k Oct 10, 2025
930185b
again DB update to service request table
indunil-k Oct 10, 2025
2e24b0e
again DB to 20251010183920_add_service_request
indunil-k Oct 10, 2025
bf59ac9
serviceRequest almost done
indunil-k Oct 11, 2025
b1f077d
trigger fnction when creating a new service request
indunil-k Oct 11, 2025
f3a8f55
notifications to matching providers
indunil-k Oct 11, 2025
595b25f
recommendation system done
indunil-k Oct 11, 2025
56d3925
Add comprehensive admin module tests and configs
Yasith763 Oct 11, 2025
75579bd
Merge pull request #32 from CS3203-Project/y-unit-test
Yasith763 Oct 11, 2025
ecfa54a
Remove Jest configuration file
Yasith763 Oct 11, 2025
6c7ad89
Merge pull request #33 from CS3203-Project/y-unit-test
Yasith763 Oct 11, 2025
b386bb3
Update Jest configuration file extension from .js to .cjs
Yasith763 Oct 11, 2025
a00b357
Add unit tests for controllers, services, middlewares, and utilities
UmeshaJayakody Oct 12, 2025
147d812
Add performance testing suite with spike and stress tests
UmeshaJayakody Oct 12, 2025
0413ef6
Update .gitignore, Jest configuration, and performance tests
UmeshaJayakody Oct 12, 2025
b5190eb
Add service reviews functionality with average rating calculation and…
UmeshaJayakody Oct 13, 2025
8589535
umesh
indunil-k Oct 13, 2025
b64359d
radius optional
indunil-k Oct 14, 2025
f23ae27
Enhance provider profile retrieval with service review statistics and…
UmeshaJayakody Oct 14, 2025
3de1b70
Merge branch 'main' of https://github.com/CS3203-Project/backend
UmeshaJayakody Oct 14, 2025
df149ff
Refactor schema for vector extension and model fields
Yasith763 Oct 14, 2025
8496856
just
indunil-k Oct 14, 2025
44b9bc8
Set default value of User.isActive to true and add migration scripts
Yasith763 Oct 15, 2025
8925e20
update with main
indunil-k Oct 15, 2025
e275792
Refactor database connection to use centralized prisma instance
UmeshaJayakody Oct 17, 2025
130ce81
Add phone field to provider profile retrieval
UmeshaJayakody Oct 17, 2025
e3d5610
booking reminder
indunil-k Oct 17, 2025
4e04b2b
Add node-cron and update logging format in service controllers
UmeshaJayakody Oct 17, 2025
f4c46fe
Add schedule routes, controller, and validation schemas
UmeshaJayakody Oct 17, 2025
33c1100
Add comprehensive README documentation for the backend service
UmeshaJayakody Oct 18, 2025
17e7b39
booking reminder renovation
indunil-k Oct 18, 2025
998de73
Merge branch 'main' of https://github.com/CS3203-Project/backend
indunil-k Oct 18, 2025
4a54e71
n
indunil-k Oct 18, 2025
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
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

27 changes: 27 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copy this file to .env and fill in your actual values
# DATABASE_URL=postgresql://user:password@host:port/database?sslmode=require
JWT_SECRET=your_jwt_secret_here
DATABASE_URL=postgresql://user:password@host:port/database?sslmode=require&channel_binding=require

DATABASE_URL_LOCAL=postgresql://postgres:password@localhost:5432/zia?schema=public
DATABASE_URL_SUPERBASE=postgresql://postgres:password@host:port/postgres

# AWS S3 Configuration
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
AWS_REGION=eu-north-1
AWS_S3_BUCKET_NAME=your_bucket_name

PORT=3000

# Frontend URL for WebSocket CORS
FRONTEND_URL=http://localhost:5173

# Email SMTP Configuration
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USER=your_email@example.com
MAIL_PASS=your_email_password
MAIL_FROM='"Zia" <no-reply@Zia.com>'

RABBITMQ_URL=amqps://user:password@host/vhost
37 changes: 33 additions & 4 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
/node_modules
/dist
/.env
/generated/prisma
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Package manager lockfiles (keep only pnpm-lock.yaml)
package-lock.json
yarn.lock

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Environment files
.env
coverage
.cache
Loading