Skip to content

webforj/webforj-tutorial

Repository files navigation

webforJ Customer Management Tutorial App (Spring Boot)

This project demonstrates how to build a customer management app using the webforJ framework with Spring Boot. The app showcases modern web UI development while leveraging Spring’s backend ecosystem, including dependency injection, service layers, and data management.

For a complete step-by-step guide to building this app, see the webforJ Tutorial.


Prerequisites

To run the app, ensure the following tools are installed:

  • Java 17 or higher
  • Maven
  • A Java IDE (e.g., IntelliJ IDEA, Eclipse, VSCode)
  • Web browser
  • Git (recommended)

Project Structure

webforj-tutorial
│   .gitignore
│   LICENSE
│   README.md
│   tree.txt
│
├───1-creating-a-basic-app
├───2-working-with-data
├───3-routing-and-composites
├───4-observers-and-route-parameters
└───5-validating-and-binding-data  

Running the App (Spring Boot)

  1. Navigate to the desired step directory (e.g., 1-creating-a-basic-app):
    cd 1-creating-a-basic-app
  2. Start the Spring Boot application:
    mvn
  3. Open your browser and go to http://localhost:8080.

Project Highlights

  • Spring Boot integration: Autowire Spring beans directly into webforJ views and components.
  • Data binding and validation: Use standard Java validation annotations and webforJ data binding features.
  • Spring Data support: Connect UI components to your data layer using Spring repositories.
  • Hot reload: Automatic browser refresh with Spring DevTools.
  • Familiar development: Continue using Spring annotations like @Service, @Repository, and @Component.
  • Flexible configuration: Combine application.properties with webforj.conf for complete control.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Step by step webforJ tutorial app that builds a simple customer management system with view, add, and edit functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors