Skip to content

Nextjs app built with Spring Boot and Spring Auth

Notifications You must be signed in to change notification settings

nhattpn/Nextjs_Java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Nextjs and Java Spring Boot App

A full-stack web application built with Next.js for the client-side and Java Spring Boot and Spring Security for the server-side. The application is designed to provide users with an easy and secure way to manage their data.

Installation

To install and run the application, follow these steps:

  1. Clone the repository to your local machine
  2. Navigate to the client directory and create a .env file with the following variables:
BACKEND_API=
JWT_SECRET=
  1. In the server directory, configure your database in the applications.properties file. We used Postgres in this example.
  2. Make sure that the JWT Token, in your env, matches the one on the Spring Server.
  3. Run the Java application by running ./mvnw in the server directory
  4. Navigate to the client directory and run npm install to install the required packages
  5. Run the client-side by running npm run dev

Technologies Used

  • Next.js
  • Java Spring Boot
  • Spring Security
  • Postgres
  • Tailwind CSS

Features

  • Secure authentication using Spring Security
  • Easy database configuration
  • Responsive and modern UI design with Tailwind CSS -- Fast and efficient client-side rendering with Next.js
  • Easy configuration with environment variables
  • Robust error handling and logging

Contributing

Contributions to the project are welcome and appreciated. If you find a bug or have a feature request, please open an issue. If you would like to contribute code, please fork the repository and submit a pull request.

License

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

About

Nextjs app built with Spring Boot and Spring Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 53.5%
  • Java 39.5%
  • CSS 6.4%
  • JavaScript 0.6%