A full-stack application for real-time employee tracking, geofencing, and automated attendance reporting.
- Java 17+ (for Spring Boot backend)
- Node.js v18+ (for React/Vite frontend)
- PostgreSQL running locally
- Ensure your local PostgreSQL server is running.
- The application automatically connects to a database and runs migrations/generates tables via Hibernate.
- You can configure database credentials in:
backend/src/main/resources/application.properties
The backend provides the REST APIs and WebSocket STOMP broker.
- Open a new terminal.
- Navigate to the backend directory:
cd backend - Run the application using the Maven wrapper:
./mvnw spring-boot:run
(The backend server will start on http://localhost:8080)
The frontend provides the Admin Dashboard and the Employee views.
- Open a new terminal.
- Navigate to the frontend directory:
cd frontend - Install the dependencies (only required once):
npm install
- Start the development server:
npm run dev
(The frontend application will typically start on http://localhost:5173)
Upon the first run, the backend DataSeeder automatically generates two default accounts so you can log in immediately:
Admin Account:
- Email:
admin@example.com - Password:
password
Employee Account:
- Email:
employee@example.com - Password:
password