TechCradle is a Java-based project that showcases a robust content management system designed for a blogging website, developed using the Spring Framework and its associated technologies.
- OTP based authentication
- User based resource access(temporarily disabled)
- JWT token based authorization
- Supports English, French and Duth Language
- Supports rich text editor that can handle links, images and text
- Users can utilize generative artificial intelligence powered by Gemini Flash API to write their blogs
- Allows CRUD operations on Documents/Blogs
- Allows users to follow/unfollow others
- Please use your API key for the Google Gemini to generate the description using Generative Artificial Intelligence. Refer this issue for more details: #29
- Use
git clone
to clone the repository that already exists on GitHub, including all of the files, branches, and commits. - From the root of the project cd into
SpringBoot
folder. - Use
mvn clean install
to create the JAR file, that contains all the depencies, generated classes etc. - Use
mvn spring-boot:run
to execute the JAR file and hosts the application at the default port 8080. - From the root of the project cd into
frontend
. - Use
npm start [-- args]
to run the frontend React project.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Boot Actuator
- Spring Data JPA
- Spring Security
- Validation
- Spring Web
- Java Mail Sender
- Spring Data JDBC
- OAuth2 Resource Server
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service with Spring Boot Actuator
- Accessing Data with JPA
- Securing a Web Application
- Spring Boot and OAuth2
- Authenticating a User with LDAP
- Validation
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Using Spring Data JDBC
Due to Maven's design, elements are inherited from the parent POM to the project POM.
While most of the inheritance is fine, it also inherits unwanted elements like <license>
and <developers>
from the parent.
To prevent this, the project POM contains empty overrides for these elements.
If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides.