This web app REST API for querying and retrieving scoped news and information.
Behavior | Input | Output |
---|---|---|
create a department name | Enter the name of the department | Department will be added on the options |
Adding a staff | click add staff | new staff will be added with an input |
Displaying the records | click on home page | all the sections will be displayed as a link for more information |
Path | Operation | Description |
---|---|---|
https://sfcinfoapp.herokuapp.com/api/list-departments | GET | List all departments |
https://sfcinfoapp.herokuapp.com/api/api/list-staff | GET | List all staff |
https://sfcinfoapp.herokuapp.com/api/api/add-department | POST | Add department |
https://sfcinfoapp.herokuapp.com/api/api/add-news | POST | Add News |
- create a new folder on your desired location in your local machine
- git init using your terminal
- git clone https://github.com/modongo/saftechteam.git
- make sure you have intellij installed in you laptop.
- launch intellij and go to files>open project.
- enjoy the code.
currently there a bug affecting addition of staff and departments.
- java
- JUnit
- Spark
- postgressql
Main Languages used:
- java for web application and spark as a frame work
Other Technologies:
- none
$< https://saftechteams.herokuapp.com >
$ git clone https://github.com/modongo/saftechteam.git
Incase of any issues or feedback please add using any of below links.
Contact me on email or on my github account https://github.com/modongo
This project is licensed under the MIT License
Michael Odongo Copyright (c) 2019