A delivery operations management system for Zomato, built with Spring Boot and React.
- Java 17 or higher
- Node.js 16 or higher
- Maven
- npm or yarn
# Clone the repository
git clone https://github.com/yourusername/zomato-ops-pro.git
# Navigate to the project directory
cd zomato-ops-pro-
Navigate to the backend directory:
cd backend -
Build the project:
mvn clean install
-
Run the Spring Boot application:
mvn spring-boot:run
The backend server will start on http://localhost:8082
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install # or yarn install -
Start the development server:
npm run dev # or yarn devThe frontend will be available at http://localhost:5173
The application comes with the following default users:
- Username: manager
- Password: password123
-
Username: john
-
Password: password123
-
Username: jane
-
Password: password123
-
Username: mike
-
Password: password123
-
Order Management
- Create new orders
- Track order status
- Assign delivery partners
- View order history
-
Partner Management
- View available partners
- Update partner availability
- Track partner ETA
-
Dashboard
- Real-time order tracking
- Partner status monitoring
- Order statistics
- Swagger UI: http://localhost:8082/swagger-ui.html
- API Docs: http://localhost:8082/api-docs
The application uses H2 database with file-based persistence. The database file is stored in the project root directory as opsprodb.mv.db.
- Spring Boot 3.x
- Spring Security
- Spring Data JPA
- H2 Database
- Maven
- React
- TypeScript
- Tailwind CSS
- React Router
- Axios
-
If port 8082 is already in use:
# Find the process using port 8082 lsof -i :8082 # Kill the process kill -9 <PID>
-
If you encounter CORS issues:
- Check if the frontend URL is included in
app.cors.allowed-originsinapplication.properties - Ensure the backend is running and accessible
- Check if the frontend URL is included in
-
If the database is corrupted:
- Delete the
opsprodb.mv.dbfile - Restart the application to create a fresh database
- Delete the
This project is licensed under the MIT License.