Coder Social home page Coder Social logo

news-stuff's Introduction

NEWS APP REST API

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

Description

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.

Setup/Installation Requirement

  • 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.

DATABASE NAME

  • 1.\c news_information;
  • 2.\c news_information_test;

CREATE TABLES

  • 1.Navigate to main/resources/db
  • 2.Run psql < create.sql

DROP TABLES

  • 1.Navigate to main/resources/db
  • 2.Run psql < drop.sql

Known Bugs

There are no known bugs yet but at the time this project was made, UIs was not a major concern.

Technologies Used

Languages used include:

  • 1.Java
  • 2.Spark
  • 3.Gradle

Build

Run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via [gradle]

Support and Contact details

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].

License

This document comes with MIT Licence . Find the License document attached to it to learn more about it.

  • Copyright (c) [2021] [Esther Moki]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.