Skip to content

AndrewHulme/SSTechTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SS Tech Test

Check out the app at https://sstechtest.herokuapp.com/

Acknowledgement

All information by kind permission of School Spider.

Description

Single-page website which allows users to:

  • Navigate through the website by clicking links
  • Open a specific page by visiting the URL
  • View the list of schools
  • Search through the list of schools
  • View the list of news for each school
  • Search through the list of news for each school
  • View the article for each news listing
  • View the images for each news listing with lightbox functionality
  • View the related files/pdfs for each news listing
  • View the videos for each news listing

URLs

The frontend URLs follow the paths from the backend. For example:

Technology used

  • React
  • JavaScript
  • HTML
  • CSS
  • Cypress
  • Jest/Enzyme
  • FT Origami Components (previously used Tailwind CSS)
  • React Router
  • React Image Lightbox

Installation

  • Clone this repository $ git clone git@github.com:AndrewHulme/SSTechTest.git
  • Navigate to local repository $ cd SSTechTest
  • Install npm
  • Install all dependencies $ npm install
  • Start the server $ npm start
  • Navigate to http://localhost:3000/ in your browser

Testing

End to End Testing

  • Start the server $ npm start
  • Start Cypress to run the tests $ npx cypress open
  • Click on Run all specs in Cypress

Unit Testing

  • Start the tests using $ npm test
  • Type a to view all tests

About

Displays news articles for northern schools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published