Skip to content

A demo project built with Spring Boot and React

Notifications You must be signed in to change notification settings

alevskyi/quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preface:

This is an updated version of my first Java project. Changes include: dependencies version updates, UI changes, and minor internal changes. Original functionality preserved as it was. Full list of changes bellow.

  • Spring Boot version update: 1.5.23.2.0
  • Build tool change: GradleMaven
  • Generated sources from an XSD schema: Part of the codebaseGenerated during build, using JAXB plugin
  • Database change: H2 database file, part of the codebaseMySQL in Docker
  • Frontend update: jQueryReact
  • Backend view layer: Thymeleaf templatesREST API

Summary:

This is a website written in Java. It allows users to browse quotes, and post new. User can post a new quote after register and login process via, filling a form, or uploading an XML file. Individual quotes contain a unique link, and can be bookmarked.

Screenshots:

register main profile quotes

How to run:

To start frontend, run shell commands:

cd frontend
npm run start

To start backend, run main class ua.training.quotes.Application

The application can store data in two different ways: in memory, or in a database. The default option is "in memory". To use a database: comment out profile setting in application.properties and run docker-compose up to start a database. Sample quotes stored in a file data.json. Sample user credentials: login - testUser, password - 1234.

About

A demo project built with Spring Boot and React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published