Skip to content

acarriedev/fe-nc-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alex Carrie's ncNEWS

Welcome to the front-end app for Alex Carrie's ncNEWS, a demo news app created using my own api and data from Northcoders. The project has a default, logged-in user, jessjelly. This is used to post comments on the articles, which can be deleted.

This project is a demonstration for the use of react, node and axios to create a simple, responsive App.

Node v13.11.0 is the minimum version required to run this app.

Links to the app


Setting up the project

Step 1 - Install dependencies

npm i

Step 2 - Run App in the browser

npm start

Tests

Most of the testing and errors-handling for this project is handled by the back-end. There is a tests folder containing tests for the dateFormatter utils function. This uses jest, which is installed with react.

To run this test enter this in the terminal

npm test utils

Jest will automatically run in watch mode. To escape watch mode enter this in the terminal

^c

Author


Acknowledgments

About

Front-end react app for the nc-news project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published