Skip to content

With this Single Page Application, you can query the NY Times for your favorite content. Perform CRUD methods on articles in this full-stack MERN/redux app.

Notifications You must be signed in to change notification settings

Dquez/NYT-SPA-React

Repository files navigation

NYT-SPA-React

NYT Single Page API Application

Overview

In this project, I created an app that allows you to interact with the New York Times API. This app is a MERN SPA which performs the majority of its functions on the front end using React. Routing is handled by react router to render each component to the page correctly. This app is utilizing a Mongoose ODM to query the Mongo database and send the data back to the user using a custom REST API and axios. This app interacts with the database using all the CRUD methods.

Inspiration

New York Times is one of the most influential newspapers of our time. I wanted to make an easy and interactive way to utilize the NYT API so visitors can view and save persistent data in real time. I also wanted to put my MERN stack skills to the test and try a simple SPA to better my understanding of how powerful React is.

How I built it

I primarily worked with node.js, handlebars, and the express framework to handle routing, connecting to the server and sending files to the front end. On the front end, I used HTML, javascript, jQuery and CSS and Semantic UI styling framework. There is still room for improvement including adding more pages for different websites to scrape and some interactivity with clicking buttons. I included the following packages:

What I learned

This app helped me understand the architecture and strategic choices that are required when making a React app. Reusability and compartmentalization are key when it comes to building a robust React app, especially when your app needs to scale.

NYT-SPA

About

With this Single Page Application, you can query the NY Times for your favorite content. Perform CRUD methods on articles in this full-stack MERN/redux app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published