Skip to content

uuufo/nyt-api-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New York Times API Demo

Built using Spring Web, Security, Data, Thymeleaf, Bootstrap, and MySQL.

Articles retrieved from the Most Popular API are presented in a grid on the home page.

To access the Article Search API, a user must first register an account and be currently logged in.


nyt1 nyt2

Installation

The package is configured for WAR deployment using an external Tomcat server and MySQL installation.
Set these inside application.properties ->

MySQL path and user information
NYT API Key

Build using Maven

./mvnw package

Use scp or similar to transfer nyt.war to your server, then deploy using Tomcat.

Usage

Once deployed, access http://your.server/nyt
Register a new user and login to access search.

Info

Feedback, advice, kind words are all accepted at any time :)

This demo was written as a learning project and proof-of-concept.
It is by no means complete, secure, or ready to be used for any production environment.

License

MIT