This project displays images from the NASA's API APOD. It is hosted on GitHub pages Spacestagram.
The project uses the Polaris as the component library, and the images are loaded in a masonry layout which adopts react-masonry-component.
There is also a dark mode for you to enjoy the astonishing universe. Buttons are on the top-right conner for you to change between the light and dark mode.
The project use Vite to build and Docker to deploy, and Jest and React Testing Library to test.
To preview on local environment:
npm install
then
npm build
then
npm run preview
To run test:
npm run test