8000 GitHub - ubuntolog/homeHt: Application form for tenants
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ubuntolog/homeHt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home.Ht application form for tenants

This is a simple web application that has a Java backend and a React-based frontend.

How do I start it?

mvn clean package docker:build

Development

First, you need to build the frontend. Go to src/main/resources/frontend folder and run (npm and node are required):

make dependencies

While working on the frontend it is better to turn on the development mode, since it will refresh your browser after each change in the source code:

make run_webui_dev_server

If you need to add a new dependency, you should modify src/main/resources/frontend/package.json. After that remove old dependencies by removing src/main/resources/frontend/webui/node_modules folder. Rerun:

make dependencies

To run the backend use the following options (Java 8 is required):

server homeHt.yaml

Configuration

Configuration options are stored in homeHt.yaml

Option Description
version version number
dbFolder path to the database file
dbUser databas 5A81 e user name
dbPassword database password

API endpoint

URL Method Description
/info GET information about the API
/booking GET list of all bookings in JSON
/booking POST adding a new booking
/booking/{id} GET getting a particular booking by Id

About

Application form for tenants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0