Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
594 commits
Select commit Hold shift + click to select a range
f420673
Refactor tsconfig paths with corrected baseUrl and alias resolution
Suweka Apr 25, 2025
b1ae7f2
Update dashboard page.tsx
Suweka Apr 25, 2025
fe7d1ad
update the validation logic to allow both PDF and DOCX files.
savinduamalka Apr 25, 2025
47287b7
add a utility function to extract text from PDF and DOCX
savinduamalka Apr 25, 2025
c195c53
Fix incorrect output type formatting in the details modal
dasun-sathsara Apr 26, 2025
8318f62
Implement the UI of the data availability checker in the data extract…
dasun-sathsara Apr 26, 2025
e79742c
add one option inside the Employee Management section
savinduamalka Apr 28, 2025
044476a
implement LLM response parsing and filtering for certifications
savinduamalka Apr 28, 2025
cd67d31
implement API endpoint to match employees by certifications
savinduamalka Apr 28, 2025
3345081
Delete outdated postcss.config.js
Suweka Apr 28, 2025
2cfa7b3
Delete tailwind.config.js
Suweka Apr 28, 2025
bee9f87
implement responsive user Navbar with avatar and dropdown menu
Suweka Apr 28, 2025
faca2b5
add UsersList component with edit and delete functionality
Suweka Apr 28, 2025
c3b05d8
add EditUser component for updating user details
Suweka Apr 28, 2025
64521da
implement AddUser form for admin panel
Suweka Apr 28, 2025
d5d09d0
Refactor sidebar component for dynamic user-based navigationRefactor …
Suweka Apr 28, 2025
0a8fb5a
Revamp login page UI and improve login flow handling
Suweka Apr 28, 2025
1a6351b
update PdfDropZone and usePdfUpload for improved file processing and …
savinduamalka Apr 28, 2025
ffba932
update page to enhance PDF processing and certification extraction an…
savinduamalka Apr 28, 2025
71210a5
update component to improve job role filtering and enhance UI with be…
savinduamalka Apr 28, 2025
9631a88
Pending changes exported from your codespace
Wishvadinimayadunna Apr 29, 2025
094674e
feat: implement error log filtering
isumi-web Apr 29, 2025
e9934ed
Add jspdf and html2canvas
Suweka Apr 29, 2025
912cb7d
import Link and wrap the "Account settings" DropdownMenuItem
savinduamalka Apr 29, 2025
0623648
Improve code alignements and add comments
Suweka Apr 29, 2025
8882feb
Refactor code for improved readability and maintainability; update .g…
dasun-sathsara Apr 29, 2025
3a483b3
create account settings page with user profile management and impleme…
savinduamalka Apr 29, 2025
f8b9255
feat: add AddMiddlewareDialog and UpgradeMiddlewareDialog components
Wish-Sathsarani Apr 29, 2025
850e242
feat: add middleware management functionality with validation and UI …
Wishvadinimayadunna Apr 29, 2025
7f4722e
refactor LLM response handling to extract certifications with counts …
savinduamalka Apr 30, 2025
5486d37
display the certification requirements only one row per logical certi…
savinduamalka Apr 30, 2025
dd6f1d6
Add a "View Certification Requirements" button and clicking the butto…
savinduamalka Apr 30, 2025
2002258
implement sessionStorage persistence for matched data and add reset f…
savinduamalka Apr 30, 2025
08c3e34
Refactor code structure for improved readability and maintainability
dasun-sathsara Apr 30, 2025
cd2fd64
Enhance form validation and improve code readability in report compon…
dasun-sathsara May 1, 2025
b056461
Add Meaningful comments
Suweka May 1, 2025
1e9b83a
refactor database schema to improve relationships and add missing fie…
savinduamalka May 2, 2025
3a0cc0c
set custom worker source for pdf.js in use-pdf-upload hook
savinduamalka May 2, 2025
189d047
update LLM prompt and response handling for cloud certification extra…
savinduamalka May 2, 2025
4c88736
enhance PDF upload hook with sessionStorage support for file state re…
savinduamalka May 2, 2025
87358f6
update reset functionality to clear sessionStorage and improve file r…
savinduamalka May 2, 2025
1c39889
move arrayBufferToBase64 utility to a separate file for better organi…
savinduamalka May 2, 2025
6839f6f
add Jest configuration and setup files for TypeScript testing
savinduamalka May 2, 2025
26c0cbd
implement unit tests for arrayBufferToBase64 utility function
savinduamalka May 2, 2025
121bf07
update GET endpoint to support pagination and return all employees wh…
savinduamalka May 13, 2025
55798b5
add pagination component with navigation links and ellipsis support
savinduamalka May 13, 2025
1d6dcec
add pagination support to employee list with UI components and logic
savinduamalka May 13, 2025
40c6d17
Merge branch 'feat/upload-tender-doc' of https://github.com/savinduam…
savinduamalka May 13, 2025
07f0bcc
add pagination support to matched employees component
savinduamalka May 14, 2025
4bdc4cc
dynamically import pdfjs library and improve error handling
savinduamalka May 14, 2025
b17645d
Delete get-filtered-data.ts
Suweka May 15, 2025
f834602
Add logout function
Suweka May 15, 2025
fcd616e
Delete Unwanted mongodb file
Suweka May 15, 2025
738aeaa
enhance forms validation to ensure fields are not empty and valid input
savinduamalka May 15, 2025
fa6c566
update the Job Role dropdown now defaults to an empty string and disp…
savinduamalka May 15, 2025
10eebe7
accept a new prop onJobRoleAdded and call it after successfully addin…
savinduamalka May 15, 2025
4a38c6f
add default avatar URL constant to EmployeeDetails interface
savinduamalka May 16, 2025
e75b97e
update dependencies
savinduamalka May 16, 2025
8d98666
add UsePdfUploadProps interface to define maxFileSize property
savinduamalka May 16, 2025
8432034
clean the code
savinduamalka May 16, 2025
18aa0fb
simplify toast handling in employee deletion and update EmployeeDetai…
savinduamalka May 16, 2025
605dde7
add max height and overflow handling to FilterDropdown component
savinduamalka May 16, 2025
c35a830
add max height and overflow handling to SelectContent in AddNewEmploy…
savinduamalka May 16, 2025
8c5cda1
format employee filtering logic for improved readability
savinduamalka May 16, 2025
246311d
remove profileImageUrl column from Profile table
savinduamalka May 16, 2025
a79acfd
enhance certification matching logic for case-insensitive search
savinduamalka May 16, 2025
c561f62
add unique filename generation for uploaded images in AddNewEmployeeD…
savinduamalka May 16, 2025
a14ebaa
Connect New Database
Suweka May 16, 2025
31e0f51
Update Window refresh time
Suweka May 16, 2025
174b73d
remove redundant columns from Profile table
savinduamalka Jun 9, 2025
15ba7b6
update job role select item value and clean up default limit comment
savinduamalka Jun 9, 2025
96cc5f2
add Toaster component for customizable notifications
savinduamalka Jun 9, 2025
cea35f2
Add PostgreSQL service to web and update AWR analysis and data extrac…
dasun-sathsara Jul 8, 2025
31e9c95
Update database connection strings and add extra_hosts configuration …
dasun-sathsara Jul 8, 2025
d7c5119
Refactor data-extraction service to align with awr-analysis patterns
google-labs-jules[bot] Jul 9, 2025
00b71bf
Enhance data-extraction service configuration and models
dasun-sathsara Jul 9, 2025
a0e6d7b
Optimize AWR analysis performance by increasing Uvicorn workers to 4 …
dasun-sathsara Jul 9, 2025
0a750b8
Add data extraction API endpoint and database check script
dasun-sathsara Jul 9, 2025
86966d2
Add DatabaseInstance and WeeklyMetrics models to schema, update seedi…
dasun-sathsara Jul 9, 2025
307a5b3
Refactor seeding logic and enhance data extraction components for imp…
dasun-sathsara Jul 9, 2025
a9a3b75
Enhance data extraction API by refining snapshot timestamp validation…
dasun-sathsara Jul 9, 2025
7e2bbe6
Refactor data extraction API to directly handle DatabaseInstance crea…
dasun-sathsara Jul 9, 2025
09e71e4
Implement data extraction UI components and hooks for improved AWR re…
dasun-sathsara Jul 9, 2025
c6e7316
Refactor Data Availability Dialog into a separate component for bette…
dasun-sathsara Jul 9, 2025
43ea7e7
Enhance error handling for invalid database IDs and improve logging f…
dasun-sathsara Jul 9, 2025
a525119
Refactor API response handling to include explicit status codes for p…
dasun-sathsara Jul 9, 2025
eed0546
Refactor Data Availability components to improve client-side renderin…
dasun-sathsara Jul 10, 2025
43ab824
Enhance FileDropZone and DataExtraction components with improved UI f…
dasun-sathsara Jul 10, 2025
ad7609b
Refactor report submission logic to improve error handling and user f…
dasun-sathsara Jul 10, 2025
0490412
Add Docker Compose configurations for development and production envi…
dasun-sathsara Jul 11, 2025
a11631e
Add Docker Compose configurations for development and production envi…
dasun-sathsara Jul 11, 2025
605bb84
Merge branch 'feat/awr-analysis' of https://github.com/dasun-sathsara…
dasun-sathsara Jul 11, 2025
559615c
Update Next.js configuration to enforce TypeScript and ESLint checks;…
dasun-sathsara Jul 11, 2025
e96a455
Merge branch 'feat/awr-analysis' of https://github.com/dasun-sathsara…
dasun-sathsara Jul 11, 2025
a286d37
Refactor ExtractionFileCard component for improved UI consistency and…
dasun-sathsara Jul 11, 2025
5f82f13
add backend validations for employee profile creation and update
savinduamalka Jul 12, 2025
03425a7
update MatchedEmployees component to use a fixed limit for pagination…
savinduamalka Jul 12, 2025
f0203ad
Update base_parser.py and specific Oracle parsers to streamline metri…
dasun-sathsara Jul 12, 2025
395a298
Refactor error handling in Celery tasks to improve resilience and log…
dasun-sathsara Jul 12, 2025
d866f74
feat: implement infrastructure changes
Wish-Sathsarani Jul 12, 2025
cf59846
feat: implement error log attachments and client uploads
isumi-web Jul 12, 2025
66aca21
feat: implement infrastructure changes
Wish-Sathsarani Jul 12, 2025
340a58a
feat: implement error log attachments and client uploads
isumi-web Jul 12, 2025
b73794d
feat: implement infrastructure changes
Wish-Sathsarani Jul 12, 2025
57de343
feat: implement infrastructure changes
Wish-Sathsarani Jul 13, 2025
0c067ed
feat: implement error log attachments and client uploads
isumi-web Jul 13, 2025
9e49f2f
feat: implement error log attachments and client uploads
isumi-web Jul 13, 2025
370e51a
feat: implement infrastructure changes
Wish-Sathsarani Jul 13, 2025
817f173
Merge remote-tracking branch 'origin/feat/authentication-system' into…
savinduamalka Jul 14, 2025
73b4126
update after merge
savinduamalka Jul 14, 2025
d06cab3
improve validation in GET and implement PUT requests
savinduamalka Jul 14, 2025
6ff7733
implement DELETE endpoint for user account deletion with token verifi…
savinduamalka Jul 14, 2025
c5da74b
update Login and Forgot Password pages to use 'sonner' for notificati…
savinduamalka Jul 14, 2025
172b9b7
refactor sidebar navigation and user component for improved discretio…
savinduamalka Jul 14, 2025
741888c
refactor URL validation logic to use URL constructor for improved acc…
savinduamalka Jul 14, 2025
a20d198
update auth context and database connection for improved user handlin…
savinduamalka Jul 14, 2025
4ce87ce
fix import path for prisma in job role API route
savinduamalka Jul 15, 2025
a5a9ed4
update account settings page to improve user data handling, avatar ma…
savinduamalka Jul 15, 2025
2fd1e4c
update after merged
savinduamalka Jul 15, 2025
f9111f9
Changes In prisma versions
Suweka Jul 15, 2025
7351f4f
line changes
Suweka Jul 15, 2025
ccb961f
Enhance database schema and seeding logic
dasun-sathsara Jul 15, 2025
ddf47ab
Update seed script to enhance client and user data generation
dasun-sathsara Jul 16, 2025
c099fb4
Refactor AWR settings management: update default settings to align wi…
dasun-sathsara Jul 16, 2025
0d5998c
Implement new Dashboard page with enhanced data fetching and visualiz…
dasun-sathsara Jul 16, 2025
9a7ef5d
Enhance dashboard chart.
dasun-sathsara Jul 16, 2025
21efa49
add generated Prisma client and runtime config
Suweka Jul 16, 2025
a99cc01
Merge branch 'feat/authentication-system' of https://github.com/savin…
Suweka Jul 16, 2025
8a3dcaa
add type declaration file for generated Prisma client
Suweka Jul 16, 2025
8ae664b
add browser-specific Prisma client stub for unsupported environm
Suweka Jul 16, 2025
04f15df
add server-side Prisma client
Suweka Jul 16, 2025
851d816
add package.json for Prisma client with environment-specific export c…
Suweka Jul 16, 2025
adadf25
Prisma client
Suweka Jul 16, 2025
5dcf40e
prisma Client
Suweka Jul 16, 2025
61fa5ea
Removing Unnecessary files and Duplicate files
Suweka Jul 16, 2025
39df998
Prisma Runtime & Client Build Files
Suweka Jul 16, 2025
a52be96
Prisma Runtime & Client Build Files
Suweka Jul 16, 2025
704db42
Create Prisma Schema
Suweka Jul 16, 2025
6c0c787
implement complete UI and logic for viewing, filtering, and paginatin…
Suweka Jul 16, 2025
ce2cbb4
add admin-protected layout with sidebar
Suweka Jul 16, 2025
dd051b5
add sonner toast notification library
Suweka Jul 16, 2025
490a2c3
Update Package.json
Suweka Jul 16, 2025
c4828c5
Update schema.prisma
Suweka Jul 16, 2025
ed45521
add reusable modal component with scroll lock and overlay
Suweka Jul 16, 2025
dbda3ff
add WeeklyMetrics model with performance fields and composite unique …
Suweka Jul 16, 2025
569dc44
Prisma Runtime & Client Build Files
Suweka Jul 16, 2025
2eaeed3
enhance UsersList UI with filtering, sorting, and modal editing
Suweka Jul 16, 2025
d133f69
implement unified modal interface for user creation and editing
Suweka Jul 16, 2025
7b76fc7
Add health check API and system status widget to dashboard
dasun-sathsara Jul 17, 2025
8ce0043
Refactor health check API endpoints to use public environment variabl…
dasun-sathsara Jul 17, 2025
e67709f
dd initial and extended seed scripts for database instances and weekl…
Suweka Jul 17, 2025
81db7e9
resolve merge conflict in db_connect.ts
Suweka Jul 17, 2025
bb0a41a
enhance DataVisualization with dynamic metric sections and formatted …
Suweka Jul 17, 2025
eca60b3
add DataExportButtons component for chart image and PDF export
Suweka Jul 17, 2025
89d332e
add styling for DataExportButtons component
Suweka Jul 17, 2025
3b88ca9
replace console.error with console.log for auth status debugging
Suweka Jul 17, 2025
7d8b84a
Update button.tsx
Suweka Jul 17, 2025
6e433b9
simplify sidebar border styling and cleanup unused imports
Suweka Jul 17, 2025
982aa6b
update User component styles and switch toast library
Suweka Jul 17, 2025
d84c910
improve navigation, update links, and clean imports
Suweka Jul 17, 2025
09c362f
replace react-toastify with sonner toaster in RootLayout
Suweka Jul 17, 2025
7584cf4
cleanup imports and rename AddUser modal state in AdminUsersPage
Suweka Jul 17, 2025
bea14ba
simplify breadcrumb usage and standardize styles
Suweka Jul 17, 2025
550ab6f
replace react-toastify with sonner toaster and improve styling
Suweka Jul 17, 2025
e37bc06
replace static JSON with dynamic Prisma query in /api/databases
Suweka Jul 17, 2025
6616ec5
add admin Navbar to DataVisualization page layout
Suweka Jul 17, 2025
629117f
replace static charts.json with dynamic metrics query via Prisma
Suweka Jul 17, 2025
b738bf1
replace bcryptjs with bcrypt and add sonner dependency
Suweka Jul 17, 2025
da08e3d
update generated prisma-client package hash
Suweka Jul 17, 2025
bdfd7c4
upgrade transitive dependencies and lockfile versions
Suweka Jul 17, 2025
f099e9a
add usePrivilege hook for role and privilege-based access control
Suweka Jul 17, 2025
9eaeaf7
Update .gitignore
Suweka Jul 17, 2025
db5805c
include user privileges in JWT and response, improve cookie compatibi…
Suweka Jul 17, 2025
4df9a0f
Added new User model
Suweka Jul 17, 2025
92e2ee6
integrate user privilege management in auth and admin UI
Suweka Jul 17, 2025
d693b37
implement privilege-based access control system
Suweka Jul 17, 2025
cd99ea5
Added privileges column in users table
Suweka Jul 17, 2025
5393ae9
ntegrates privilege support into the Auth Context layer
Suweka Jul 17, 2025
dd3f214
Update middleware.ts
Suweka Jul 17, 2025
ec5212a
add privilege-based dynamic sidebar navigation
Suweka Jul 17, 2025
8eb46a3
add unauthorized access page with breadcrumb and sidebar
Suweka Jul 17, 2025
9cba036
include full user data with privileges in MFA verification response
Suweka Jul 17, 2025
3e48e32
include privileges in GET /api/auth/me user response
Suweka Jul 17, 2025
ce31389
include privileges in GET /api/auth/admin user response
Suweka Jul 17, 2025
d1a7312
integrate user privileges into auth context and UI
Suweka Jul 17, 2025
9ae606d
update dependencies and configuration files, enhance storage initiali…
savinduamalka Jul 18, 2025
79e5e77
Merge remote-tracking branch 'origin/feat/error-log' into merge/all-f…
savinduamalka Jul 18, 2025
966eb14
Merge pull request #14 from dasun-sathsara/feat/awr-analysis
dasun-sathsara Jul 19, 2025
9418314
Merge pull request #15 from dasun-sathsara/feat/dashboard
dasun-sathsara Jul 19, 2025
8f9055a
New changes
Wish-Sathsarani Jul 19, 2025
4546bed
Merge remote-tracking branch 'origin/feat/authentication-system' into…
savinduamalka Jul 19, 2025
4ee0ea6
Refactor Forgot Password page: streamline email submission handling, …
savinduamalka Jul 19, 2025
85184a7
Add dayjs dependency, update Prisma client generation, and refactor A…
savinduamalka Jul 19, 2025
40720fc
Add MFA verification handling in middleware, include MFA status in JW…
savinduamalka Jul 19, 2025
5c9ceb0
update layout and styling, change logo URL, and modify redirect path …
savinduamalka Jul 19, 2025
4a117d9
update layout and styling, enhance user feedback, and improve accessi…
savinduamalka Jul 19, 2025
e2adbfd
feat: implement error log functionality
isumi-web Jul 19, 2025
d5fae8d
feat: update API routes and enhance infrastructure
dasun-sathsara Jul 19, 2025
7162bb3
Merge remote-tracking branch 'origin/feat/error-log' into merge/all-f…
savinduamalka Jul 19, 2025
50410aa
Revert "Merge remote-tracking branch 'origin/feat/error-log' into mer…
savinduamalka Jul 19, 2025
90fe2ef
feat: add LLM version retrieval API and match outdated versions endpoint
dasun-sathsara Jul 19, 2025
79f4c17
feat: enhance infrastructure with new Prisma models, API routes, and …
dasun-sathsara Jul 19, 2025
c367648
feat: update dependencies and enhance UI components with new features…
dasun-sathsara Jul 19, 2025
4a026be
feat: enhance infrastructure with improved API filtering, pagination,…
dasun-sathsara Jul 19, 2025
7ed2ab4
Merge feat/infrastructure into merge/awr-analysis-infra preferring aw…
dasun-sathsara Jul 19, 2025
9db841c
refactor: remove package-lock.json and initial migration files, updat…
dasun-sathsara Jul 19, 2025
0852ae0
Merge feat/infrastructure into merge/awr-analysis-infra preferring aw…
dasun-sathsara Jul 19, 2025
8d6a2e3
feat: integrate Suspense for loading states in breadcrumb and sidebar…
dasun-sathsara Jul 19, 2025
a41234e
merge feat/error-log
savinduamalka Jul 19, 2025
8dfdba2
feat: add API routes for fetching database vendors and middleware typ…
dasun-sathsara Jul 19, 2025
f314879
replace SidebarProvider with SidebarWrapper for conditional rendering…
savinduamalka Jul 19, 2025
8f43ae1
Enhance Search Filters Component
dasun-sathsara Jul 19, 2025
4f6c9b4
Implement batch version checking for databases and middlewares; creat…
dasun-sathsara Jul 19, 2025
6273fbf
Implement version status checking toggle in API routes; add new versi…
dasun-sathsara Jul 19, 2025
795d67c
Refactor API routes for databases and middlewares to include enhanced…
dasun-sathsara Jul 19, 2025
6494b5e
Merge awr-analysis-infra branch: Add AWR analysis functionality, data…
savinduamalka Jul 20, 2025
4d617c5
Fix remaining merge conflicts in configuration files
savinduamalka Jul 20, 2025
382bbee
Fix corrupted package.json file
savinduamalka Jul 20, 2025
bd20c0d
Enhance MFA functionality: update token payload to include MFA status…
savinduamalka Jul 20, 2025
c653d58
Add file upload functionality using formidable, integrating MinIO for…
savinduamalka Jul 20, 2025
7f17279
Refactor Error Log Page and Add Modal Component
savinduamalka Jul 20, 2025
7e91f74
Add PDF download functionality to Error Log Page
savinduamalka Jul 20, 2025
14b86b0
Refactor PDF generation in Error Log Page
savinduamalka Jul 20, 2025
1a637c8
Add client fetching functionality to AddErrorLogModal
savinduamalka Jul 20, 2025
b1bf89d
Enhance error log deletion handling in ErrorLogPage
savinduamalka Jul 20, 2025
4d249e0
Enhance employee job role display in Employee Page
savinduamalka Jul 20, 2025
db1cd4d
Implement pagination for clients in ClientsPage
savinduamalka Jul 20, 2025
381da82
Enhance ErrorLogPage with company filtering and sorting options
savinduamalka Jul 20, 2025
15bcac3
Add attachment upload functionality to ErrorLogPage
savinduamalka Jul 20, 2025
daf0389
Add attachment deletion functionality to ErrorLogPage
savinduamalka Jul 20, 2025
8d6fbca
Refactor PDF generation in ErrorLogPage
savinduamalka Jul 20, 2025
4394186
Enhance error log deletion process
savinduamalka Jul 20, 2025
c6a8f9a
Enhance employee certification matching and job role display
savinduamalka Jul 20, 2025
c40d76e
Remove Icon file from the repository
savinduamalka Jul 20, 2025
40b4b42
Update maxAge for authentication cookie to 48 hours for improved sess…
savinduamalka Jul 20, 2025
abcc9d8
Update access token expiration and cookie maxAge to 48 hours for enha…
savinduamalka Jul 20, 2025
8675c5a
Add new dependencies for form handling and validation
savinduamalka Jul 20, 2025
b303e18
Refactor avatar URL handling and improve cache-busting mechanisms
savinduamalka Jul 20, 2025
10c8f47
Enhance animation and state management in EmployeesAllPage
savinduamalka Jul 20, 2025
420f78c
Add new dependencies for form handling and authentication
savinduamalka Jul 21, 2025
83b7766
Enhance user authentication and session management
savinduamalka Jul 22, 2025
1ffaf38
Merge branch 'main' of https://github.com/savinduamalka/database-midd…
savinduamalka Jul 22, 2025
37b78bd
Refactor Prisma models and update database schema
savinduamalka Jul 22, 2025
cd8c508
Refactor AuditLogs component layout and remove SidebarProvider
savinduamalka Jul 22, 2025
5e58ecd
Refactor DashboardPage layout by removing Sidebar components
savinduamalka Jul 22, 2025
d97f7d6
Integrate Sidebar components into UsersPage layout
savinduamalka Jul 22, 2025
4b048dc
Enhance UsersPage with improved user management features
savinduamalka Jul 22, 2025
ea78f6f
Enhance DataVisualizationPage layout with new UI elements
savinduamalka Jul 22, 2025
b3dc15e
Enhance AuditLogs component with improved UI and event handling
savinduamalka Jul 23, 2025
b2b1b5e
Update filter logic in AuditLogs component to exclude 'all' event type
savinduamalka Jul 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
33 changes: 33 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: PR Checks

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
lint-and-type-check:
name: Lint and TypeScript Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/web

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: apps/web/package-lock.json

- name: Install dependencies
run: npm install

- name: Run ESLint
run: npm run lint

- name: TypeScript compilation check
run: npx tsc --noEmit
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.aider*
.env
apps/web/src/app/api/auth/register/route.ts
apps/web/tsconfig.json
package.json
apps/web/generated/prisma/index-browser.js
apps/web/generated/prisma/runtime/edge.js
apps/web/generated/prisma/runtime/edge-esm.js
apps/web/generated/prisma/package.json
apps/web/generated/prisma/index.js
apps/web/generated/prisma/index.d.ts
apps/web/generated/prisma/schema.prisma
Binary file added apps/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions apps/web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
!.yarn/plugins
!.yarn/releases
!.yarn/versions
/node_modules/*

# testing
/coverage
Expand Down Expand Up @@ -39,3 +40,8 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
TODO.md
t2.md
t3.md

.idea/
2 changes: 2 additions & 0 deletions apps/web/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
21 changes: 1 addition & 20 deletions apps/web/components.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,2 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "gray",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
}
18 changes: 18 additions & 0 deletions apps/web/docker-compose.db.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3.8'

services:
web-db:
image: postgres:16
container_name: web-db
restart: unless-stopped
environment:
POSTGRES_USER: nextjs
POSTGRES_PASSWORD: nextjspass
POSTGRES_DB: nextjs_db
ports:
- "5435:5432"
volumes:
- web_db_data:/var/lib/postgresql/data

volumes:
web_db_data:
12 changes: 5 additions & 7 deletions apps/web/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";
import { dirname } from 'path';
import { fileURLToPath } from 'url';
import { FlatCompat } from '@eslint/eslintrc';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
baseDirectory: __dirname,
});

const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
];
const eslintConfig = [...compat.extends('next/core-web-vitals', 'next/typescript')];

export default eslintConfig;
1 change: 1 addition & 0 deletions apps/web/generated/prisma/client.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./index"
4 changes: 4 additions & 0 deletions apps/web/generated/prisma/client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

/* !!! This is code generated by Prisma. Do not edit directly. !!!
/* eslint-disable */
module.exports = { ...require('.') }
1 change: 1 addition & 0 deletions apps/web/generated/prisma/default.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./index"
4 changes: 4 additions & 0 deletions apps/web/generated/prisma/default.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

/* !!! This is code generated by Prisma. Do not edit directly. !!!
/* eslint-disable */
module.exports = { ...require('.') }
1 change: 1 addition & 0 deletions apps/web/generated/prisma/edge.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./default"
Loading
Loading