This project serves as a basic starter template for a NextJS / React application that includes login and register functionality. It is designed to work seamlessly with my backend project named springboot-with-auth.
- NextJS: A React framework for server-side rendering and static site generation.
- React: A JavaScript library for building user interfaces.
- Authentication: Login and register functionality integrated with the backend.
- Seamless Integration: Designed to work with my springboot-with-auth project
- Node.js
- npm or yarn
- Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
- Navigate to the project directory:
cd your-repo-name
- Install the dependencies:
or
npm install
yarn install
- Start the development server:
or
npm run dev
yarn dev
- Open your browser and navigate to
http://localhost:3000
.
app/
: Contains the main frontend code (pages, components, styles, etc.).contexts/
: Contains the React contexts.data/
: Contains the data models.services/
: Contains the API services.utils/
: Contains utility functions.
This project is designed to work with my springboot-with-auth backend project. Make sure to set up and run the backend project to enable the authentication functionality.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the Apache License 2.0. See the LICENSE file for more details.