Svelte-Spring-Nest Svelte Themes

Svelte Spring Nest

Svelte-Spring-Nest Demo Project

This project demonstrates a full-stack application integrating Svelte for the frontend, NestJS for the backend, and Spring Boot for additional backend services.

Prerequisites

Ensure you have the following installed on your system:

Project Structure

  • frontend/: Contains the Svelte application.
  • backend-nest/: Contains the NestJS application.
  • backend-spring/: Contains the Spring Boot application.

Setup Instructions

1. Clone the Repository

git clone https://gitingest.com/thesophisticateddev/Svelte-Spring-Nest.git
cd Svelte-Spring-Nest

2. Set Up the Frontend (Svelte)

cd frontend
npm install
npm run dev

This will start the Svelte development server, typically accessible at http://localhost:5000.

3. Set Up the Backend (NestJS)

cd ../backend-nest
npm install
npm run start

The NestJS server will start, usually accessible at http://localhost:3000.

4. Set Up the Backend (Spring Boot)

cd ../backend-spring
mvn clean install
mvn spring-boot:run

The Spring Boot application will start, typically accessible at http://localhost:8080.

Configuration

  • Environment Variables: Configure necessary environment variables for each application as required.
  • Database: Ensure any required databases are set up and accessible to the backend services.

Running the Applications

  1. Start the Spring Boot application.
  2. Start the NestJS application.
  3. Start the Svelte frontend application.

Access the frontend at http://localhost:5000, which will interact with the backend services as configured.

Additional Resources

For any issues or contributions, please refer to the repository's issue tracker or contact the maintainer.

Top categories

Loading Svelte Themes