Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
08732de
feat(Admin): Scaffold Admin Portal React project with Next.js
Mar 21, 2026
8aa1675
feat(Admin): Add foundation for Admin Portal React app
Mar 21, 2026
6753bcb
build(deps): update package-lock.json
Mar 21, 2026
8b80a43
feat(Admin): Add API client with TanStack Query hooks
Mar 21, 2026
b338be0
feat(Admin): Add CRUD functionality to admin pages
Mar 21, 2026
5c1ea53
feat(Admin): Add provider detail page with approve/reject actions
Mar 21, 2026
9c7d2ad
feat(Admin): Add dark/light theme toggle
Mar 21, 2026
ff7a084
feat(Admin): Complete auth integration, form validation, toasts, and …
Mar 21, 2026
75f15dc
docs: Add Admin Portal React frontend documentation
Mar 21, 2026
79393b9
feat: Initialize the new admin panel frontend application.
Mar 21, 2026
a5c2b1c
feat: Add GitHub Actions workflow for pull request validation, includ…
Mar 21, 2026
0456012
feat: Implement admin pages for managing allowed cities with CRUD, se…
Mar 21, 2026
b84e407
feat: add initial admin pages for categories, documents, providers, a…
Mar 21, 2026
b85dc8d
feat: Implement admin settings page with theme switching and foundati…
Mar 23, 2026
7d1be2c
feat: Implement initial admin dashboard UI with sidebar navigation an…
Mar 23, 2026
bc2bf38
feat: Add admin panel for managing service categories with full CRUD …
Mar 23, 2026
5c9846d
feat: add admin page for managing service categories with create, rea…
Mar 23, 2026
48c5ce9
feat: Introduce admin panel for service category CRUD operations and …
Mar 23, 2026
a8191be
feat: Add admin page for managing service categories with CRUD operat…
Mar 23, 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
2 changes: 2 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Allow OpenAPI generated types
!src/lib/api/generated/
30 changes: 30 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"jsc": {
"target": "es2017",
"parser": {
"syntax": "typescript",
"decorators": true,
"dynamicImport": true
},
"transform": {
"decoratorMetadata": true,
"legacyDecorator": true
},
"keepClassNames": true,
"externalHelpers": true,
"loose": true
},
"module": {
"type": "commonjs"
},
"sourceMaps": true,
"exclude": [
"jest.config.[ct]s",
".*\\.spec.tsx?$",
".*\\.test.tsx?$",
"./src/jest-setup.ts$",
"./**/jest-setup.ts$",
".*.js$",
".*.d.ts$"
]
}
6 changes: 6 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
declare module '*.svg' {
const content: any;
export const ReactComponent: any;
export default content;
}
Comment thread
frigini marked this conversation as resolved.
5 changes: 5 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
20 changes: 20 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//@ts-check

// eslint-disable-next-line @typescript-eslint/no-var-requires
const { composePlugins, withNx } = require('@nx/next');

/**
* @type {import('@nx/next/plugins/with-nx').WithNxOptions}
**/
const nextConfig = {
// Use this to set Nx-specific options
// See: https://nx.dev/recipes/next/next-config-setup
nx: {},
};

const plugins = [
// Add more Next.js plugins to this list if needed.
withNx,
];

module.exports = composePlugins(...plugins)(nextConfig);
10 changes: 10 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/openapi-ts.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
input: process.env.NEXT_PUBLIC_OPENAPI_SPEC_URL ?? 'http://localhost:7002/api-docs/v1/swagger.json',
output: './src/lib/api/generated',
plugins: [
'@tanstack/react-query',
'zod',
],
});
15 changes: 15 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const { join } = require('path');

// Note: If you use library-specific PostCSS/Tailwind configuration then you should remove the `postcssConfig` build
// option from your application's configuration (i.e. project.json).
//
// See: https://nx.dev/guides/using-tailwind-css-in-react#step-4:-applying-configuration-to-libraries

module.exports = {
plugins: {
tailwindcss: {
config: join(__dirname, 'tailwind.config.js'),
},
autoprefixer: {},
},
};
9 changes: 9 additions & 0 deletions src/Web/MeAjudaAi.Web.Admin-React/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "MeAjudaAi.Web.Admin-React",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "MeAjudaAi.Web.Admin-React",
"projectType": "application",
"tags": [],
"// targets": "to see all targets run: nx show project MeAjudaAi.Web.Admin-React --web",
"targets": {}
}
Empty file.
Binary file not shown.
Loading
Loading