This project happens to be a Java/Spark application with a REST API for querying and retrieving scoped news and information that includes news,articles, posts that are available to all employees and also one can request for news that belong to a specific department.
- By Esther Moki
- Date of current version:26/09/2021
A Java/Spark application with a REST API for querying and retrieving scoped news and information thats is news,articles and posts.They are available to all users without navigating into any department, and others that are housed or classified within departments.
- 1.Clone this repo to your documents folder.
- 2.Install gradle.
- 3.Open the project on IntelliJ and use the following command to run the app "$ gradle run".
- 4.Lastly use postman to try to send and also to retieve data from the database.
- 1.\c news_information;
- 2.\c news_information_test;
- 1.Navigate to main/resources/db
- 2.Run psql < create.sql
- 1.Navigate to main/resources/db
- 2.Run psql < drop.sql
There are no known bugs yet but at the time this project was made, UIs was not a major concern.
Languages used include:
- 1.Java
- 2.Spark
- 3.Gradle
Run build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via [gradle]
If you run into any issues or have questions, ideas,concerns or even want to make a contribution to the code,you can drop me an email on [email protected].
This document comes with MIT Licence . Find the License document attached to it to learn more about it.
- Copyright (c) [2021] [Esther Moki]