This monorepo contains the Admin Panel (React/Mantine/TypeScript) and the Auth Service (Node.js/Express/Keycloak) for your project.
apps/admin
: Frontend admin panel (React, Mantine, TypeScript, Vite)services/auth
: Authentication microservice (Node.js, Express, Keycloak)
git clone https://github.com/your-org/your-admin-monorepo.git
cd your-admin-monorepo
pnpm install
# or
npm install
Copy .env.example
to .env
and set your API endpoints:
cp apps/admin/.env.example apps/admin/.env
Edit apps/admin/.env
as needed.
Copy .env.example
to .env
and set your Keycloak and service credentials:
cp services/auth/.env.example services/auth/.env
Edit services/auth/.env
with your Keycloak server URL, realm, client ID, and admin credentials.
cd apps/admin
pnpm dev
# or
npm run dev
The app will be available at http://localhost:5173 by default.
cd apps/admin
pnpm build
# or
npm run build
monorepo/
apps/
admin/ # React admin panel
services/
auth/ # Node.js/Express auth service
package.json
pnpm-workspace.yaml
...
- User authentication (login, registration, logout)
- Car announcements CRUD
- Responsive UI with Mantine
- State management with Zustand
- Type-safe with TypeScript
The Auth Service only allows requests from the gateway (http://localhost:3000
) by default.
If you need to allow direct frontend access (e.g., Vite dev server), add its origin to the CORS config in services/auth/src/index.js
.
- Fork the repo
- Create your feature branch (
git checkout -b feature/your-feature
) - Commit your changes
- Push to the branch
- Create a Pull Request
Made with ❤️ using Mantine, React, TypeScript, Express, and Keycloak