Skip to content

cusiousdevops/springboot-reactjs-fullstack-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

springboot-reactjs-fullstack-project

This repository implements a full-stack application using:

  • Frontend: React.js
  • Backend: Spring Boot
  • Database: MongoDB

Technologies and Tools

This project requires the following tools and technologies:

Development:

Optional (for containerization):

Project Structure

springboot-reactjs-fullstack-project/
├── client/  # React.js frontend application
│   ├── ...   # React components, routes, etc.
├── server/  # Spring Boot backend application
│   ├── src/
│   │   ├── main/java/com/example/...  # Java source code
│   │   └── ...                        # Spring Boot configuration
│   ├── pom.xml                       # Maven configuration
└── README.md                        # This file

Coordinator Details

Coordinated by Kaushal Kishor
Organization Name Niit LTD.
College Dr. A. P. J. Abdul Kalam Technical University, Lucknow
Email id [email protected]
Department Information Technology

Developer List

SrNo Name Faculty or Student Department Institute Email id Github id
1 <> Student Computer Science <> College of Engineering, Greater Noida <> <>
2 <> Student Computer Science <> College of Engineering, Greater Noida <> <>

Technology Stack Breakdown

Frontend (React.js):

  • Handles user interactions, rendering UI elements, and managing application state.
  • Communicates with the backend API using HTTP requests (REST or GraphQL).
  • Provides a dynamic and responsive user experience.

Backend (Spring Boot):

  • Exposes RESTful or GraphQL APIs for data access and manipulation.
  • Implements business logic, performs data validation, and interacts with the database.
  • Ensures data integrity and security.

Database (MongoDB):

  • Stores application data in a flexible and scalable document-oriented format.
  • Allows for efficient data retrieval and updates based on specific criteria.

MVC Model (Spring Boot):

  • Model: Represents data objects with their attributes and behavior.
  • View: Defines the presentation layer (HTML templates) for displaying data.
  • Controller: Handles user requests, interacts with models and views, and orchestrates business logic.

Additional Layers (Spring Boot):

  • DAO (Data Access Object): Provides a layer of abstraction for database interactions.
  • Repository: An enhanced abstraction over DAO for complex queries and data persistence.

Frontend Model (React.js):

  • Can also utilize a model layer within React components to manage application state using libraries like Redux or Context API.

Prerequisites

  1. Install required tools (Node.js, npm, Maven, OpenJDK 17, MongoDB, MongoDB Compass).
  2. (Optional) Install Docker and Docker Compose for containerization.

Getting Started

  1. Clone this repository: git clone https://github.com/your-username/springboot-reactjs-fullstack-project.git
  2. Navigate to the project directory: cd springboot-reactjs-fullstack-project

Frontend (React.js)

  1. Install dependencies: npm install (within the client directory)
  2. Start the development server: npm start (usually starts at http://localhost:3000 by default)

Backend (Spring Boot)

  1. Build the application: mvn package (within the server directory)
  2. Run the application: java -jar target/your-project-name.jar (replace with the actual JAR file name)

Frontend and Backend Roles

Frontend (React.js):

  • Handles user input and interaction.
  • Fetches data from the backend API.
  • Renders UI components based on received data.
  • Provides a dynamic and user-friendly experience.

Backend (Spring Boot):

  • Exposes APIs for CRUD operations (Create, Read, Update, Delete) on data.
  • Validates user input and performs business logic.
  • Interacts with the database for data storage and retrieval.
  • Ensures data security and integrity.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors