Skip to content

HelfenKannJeder/come2help

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

come2help

come2.help is a project for recruiting and coordinating volunteer people. Possible scenarios are flooding or coordinating support for political refugees.

Content and Usage

For usage please care about the LICENSE file.

Preconditions

  • Java 8

Setup

  1. Fork the repository for development. Implementations can be submitted by a Pull-Request.

  2. Clone the repository to a local directory.

  3. Import it to a IDE (e.g. IntelliJ) of your choice (or use vim).

  4. Add a local mysql user and database, the default data can be found in server/src/main/resources/application.yml. Do not use this authentication data for production use.

  5. First build a jar file, this can be done with:

mvn package
  1. Execute the binary:
java -jar server/target/come2help-server-0.0.1-SNAPSHOT.jar
  1. Execute a request against the REST-API. For example use a REST-Client extension for your browser. For testing you can use the following curl command line:
curl http://localhost:8080/users/1

The result should be the user with the ID 1 (if there is no one, create it with PUT and the URI http://localhost:8080/users. Data can be transmitted as JSON.

Api documentation

Check http://localhost:8080/jsondoc-ui.html?url=http://localhost:8080/jsondoc and enter "http://localhost:8080/jsondoc" for the json api documentation. It gives an overview over the api. The playground is enabled to submit json objects easily.

mvn clean package -Pdistributable
creates an offline api documentation in target/jsondoc-distribution.zip.

If you are only interested in the JSONdoc documentation, you can download it here.

Contact

For further contact mail valentin.zickner(at)helfenkannjeder(dot)de, visit http://come2.help/ or create a ticket.

About

Project for recruiting and coordinating volunteer people.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published