Explore information about space with easy to use, interactive site.
This Project is both api and web.
- Pretty (in my opition) landing page
- Interactive star background
- Interactive button-images with modals
- View people in space
- Show NASA's picture of the day
- Check weather on mars
- Open Notify - people in space
- NASA APOD API - picture of the day
- InSight: Mars Weather Service API - mars weather
Note
I needed to host apod api by myself, because NASA's api had not been updated for a long time and it can't handle videos properly anymore.
You can view all the enpoints that this api has here
I built this project's frontend partialy with shadcn components
You can host it by yourself with docker!
If you want to use something different than traefik, you need to adjust compose file for your needs.
First you need to create .env file in repo's root folder, this file is mounted inside docker container.
When creating .env file, you can base on .env.example file.
You can obtain a free API key for NASA API here.
docker-compose up -dwalkey (redis)
docker-compose -f compose-dev.yaml up -dweb
cd web/
pnpm i
pnpm devevapi
cd api/
cargo runncaddy - mixing api and web together on one port
caddy run