Visit the live link here
A client-side single page application built using React that pulls data from Nasa's Astronomy Picture of The Day. It's like instagram but for space lovers. Users can browse through these images and like or unlike them. The app also has a dark-mode feature which users can toggle depending on their preference.
- Load Image data from NASA's API
- Like and dislike each image
- Switch between dark mode and light mode
- Loading progress bar
- Display error page when it fails to load
-
Clone this repo
git clone https://github.com/zakwarsame/spacetagram.git
-
Install and use the correct version of Node using NVM. This app was both built and hosted using node v16.13.1
nvm install
-
Install dependencies
npm install
-
Sign up for NASA's free API key here
-
Create a
.env
file and setup your key by following the.env.example
file -
Start the development server
npm start
npm run cypress
- react
- axios
- material-ui
- dotenv
- react-infinite-scroll-component
- react-query
The like button is a checkbox thus not being saved or persisted in local storage.