Skip to content

MACHMOSES/SpringBootReact

Repository files navigation

Fullstack Application

A full-stack user registration application built with Spring Boot (backend) and React (frontend).

Features

  • Register new users
  • View all registered users
  • Delete users
  • Responsive UI

Technologies Used

  • Backend: Java, Spring Boot, Maven
  • Frontend: React, Axios
  • Styling: CSS

Project Structure

fullstack-application/
├── src/
│   ├── main/
│   │   ├── java/         # Spring Boot backend code
│   │   ├── js/           # React frontend entry point (App.js)
│   │   └── resources/    # Static resources and CSS
│   └── test/             # Backend tests
├── frontendApp/          # React components and frontend logic
├── .gitignore
├── package.json
├── pom.xml
└── README.md

Getting Started

Prerequisites

  • Java 17+
  • Maven
  • Node.js & npm

Backend Setup

  1. Navigate to the project root:
    cd fullstack-application
  2. Build and run the Spring Boot backend:
    mvn spring-boot:run

Frontend Setup

  1. Navigate to the frontend directory:
    cd frontendApp
  2. Install dependencies:
    npm install
  3. Start the React development server:
    npm run webpack

Accessing the App

API Endpoints

  • GET /user/all — Get all users
  • POST /user/save — Add a new user
  • DELETE /user/{id} — Delete a user by ID

Contributing

Feel free to fork the repository and submit pull requests.

License

This project is licensed under the MIT License.

About

fullstack project using springboot and react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published