Welcome to LocationWeb, a web app designed to simplify location management. This application meets your requirements, offering an intuitive interface for adding, viewing, editing, and deleting locations. Additionally, it provides features such as email confirmations and live pie charts.
Follow these steps to get started:
-
Clone the repository:
git clone https://github.com/modinilesh/LocationWeb.git
-
Navigate to the project directory:
cd LocationWeb
-
Install dependencies:
./mvnw clean install
-
Run the application:
java -jar target/your-spring-boot-project.jar
- Endpoint:
/locationweb/showCreate
- Method: GET
- Navigate to this endpoint to add a new location.
- Endpoint:
/locationweb/saveLocation
- Method: POST
- Save a location, and a confirmation will be sent to your email.
- Endpoint:
/locationweb/displayLocations
- Method: GET
- Access this endpoint to see all locations in the database.
- Controllers:
LocationWebController
LocationRestController
- Use these controllers to edit and delete locations as needed.
- Endpoint:
/locationweb/report
- Method: GET
- Experience live pie charts based on the type of locations.
LocationWeb/
|-- src/
| |-- main/
| |-- java/
| |-- com/
| |-- springboot/
| |-- udemy/
| |-- LocationWeb/
| |-- controllers/
| |-- LocationWebController.java
| |-- LocationRestController.java
| |-- resources/
| |-- templates/
| |-- (view pages)
| |-- (other resources)
|-- (other project files)
Feel free to explore the code and customize the application according to your needs. If you encounter any issues or have questions, please refer to the documentation or reach out to our support team. Happy coding!