The BusDetails project is a comprehensive solution designed to streamline the management of bus operations for administrators. This platform enables efficient handling of bus information, including adding, deleting, updating, and viewing bus details. Built with a robust tech stack, the project utilizes Groovy and Grails for server-side operations, Angular for the frontend UI, and MySQL for database management.
- Add Bus: Admins can add new bus entries to the system, including details like bus number, route, and timings.
- Delete Bus: Allows for the removal of bus entries from the database.
- Update Bus Details: Admins can modify existing bus information to ensure data is current.
- View Bus Details: Comprehensive view functionality for browsing through bus information.
- Backend: Groovy + Grails
- Frontend: Angular
- Database: MySQL
main
: Contains the overall project documentation and general information.dev1
: Dedicated to the backend API code developed with Groovy and Grails.devUI
: Focuses on the Angular-based UI code, showcasing frontend development efforts.
Before you can run the BusDetails project locally, ensure you have the following installed:
- Git: Essential for cloning the repository and managing version control. Download Git.
- Java: Required for running Groovy and Grails. The project is compatible with Java 8. Download Java.
- Groovy: The project uses Groovy version 2.4.7 for server-side scripting. Groovy runs on the JVM, so make sure Java is installed first. Download Groovy.
- Grails: A powerful web application framework based on Groovy. This project uses Grails version 3.2.6. Download Grails.
- JVM: Ensure you have the Java Virtual Machine (JVM) version 1.8.0_181 installed, as it's required for Groovy and Grails.
- Node.js and npm: The project's frontend is developed with Angular, which requires Node.js and npm (Node Package Manager) for dependencies management and to run the development server. Download Node.js and npm.
- MySQL: The project uses MySQL for its database. Ensure you have MySQL installed and properly set up. Download MySQL.
After installing these prerequisites, you're ready to set up and run the project locally.
-
Clone the repository
git clone https://github.com/mindexpert7546/busDetails-IIC-Training-Project.git
cd busDetails-IIC-Training-Project
git checkout dev1
git checkout devUI
./grailsw run-app
npm start