REST APIs
[Naisenya Mungai](https://github.com/naisenyamungai)
Student - Full Stack Developer(Java & Android)
REST API for querying and retrieving scoped news and information. There should be news/articles/posts that are available to all employees without navigating into any department, and others that are housed/classified within departments
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://damp-sea-70941.herokuapp.com/divisions/api | GET | List all divisions |
https://damp-sea-70941.herokuapp.com/articles/api | GET | General News across the organization |
https://damp-sea-70941.herokuapp.com/classifieds/api | GET | Departmental News |
https://sfcinfoapp.herokuapp.com/divisions/api/new | POST | Add Divisions |
- create a new folder on your desired location in your local machine
- git init using your terminal
- git clone https://github.com/naisenyamungai/news.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
$ git clone https://github.com/naisenyamungai/news.git
MIT © Naisenya Mungai