AstroSpace OS: Interactive NASA Astronomy Picture Database
- 13 Devlogs
- 11 Total hours
It showcases the Astronomy Picture of the Day from the NASA.gov api requests. Uses python requests and HTML + CSS to style the entire website.
It showcases the Astronomy Picture of the Day from the NASA.gov api requests. Uses python requests and HTML + CSS to style the entire website.
Spent almost an hour trying to find a suitable site to host my project on. Found Replit and added a button to go back. Uploaded files on github and attached. Website published and edited README.md. FINAL DEVLOG LETS GOO. This was a really good journey
Finally finished jinja 2 scripts and some backend issues. Software will be live in a few minutes
Devlog #11: Rough sketch completed, troubleshooting through invisible overlays. Next steps are to edit header and footer with github id contact id and etc to personalize this showcase of NASA Photos
Devlog #10: First project on stardance almost completed
Today I completed a lot. I set up a Jinja Loop, I coded the backend, I fixed syntax errors, I set up a way to hide my API keys when commiting to git. I also made my first README file, needs improving but not bad. Almost done shipping my website via vercel. Hope this gets a good rating!!!
CSS Design in progress. Making sure all photos area organized in an orderly matter
Created Backend using Flask and created templates folder with index.html. Used AI debugging to solve http requests. Designed a rough sketch of the html site. Sent python json data over to html. Next steps for the next 30 mins are to hide API keys and make the system much safer
Created a backend using Flask, switched data and imported functions from other tabs. Next step is creating the HTML backbone and then finalizing design using help from AI and personal touch.
Finally fixed the functions and added a quit function using sys
Finished readme but first python script is a bit funky. Gonna need some help debugging the problem. Functions are not valid for some reason. Wasted around 30 minutes with this
Imported JSON library by using ‘with open’ and ‘dump’ to write a file called nasadata.json. Created the ability to save converted python dictionaries by ‘with open’ to use in other scripts. Successfully created a sample of nasadata.json. Imported nasadata.json and created a system to detect a user’s operating system for the ‘os’ framework .Now next steps are drafting 2nd python script by completing dictionary scripts then connecting html/webos app (frontend) over to python (backend). Then after that I will launch a beta of my project within this first week
Error- requests code wasnt working. Refined code when debugging with AI then defined API and web request. Next step is formatting dictionary nasadata into an html skeleton from previous deleted project WebOS
Update: Polished python framework even more learning about requests framework and adding a function for the input validation. Added return True and return False for looping inputs together.
Next thing to work on: refining json to dictionary data and selecting specific items in the dictionary
script draft done- learned how to use requests library and created a small json data fetcher and converted json data to readable python dictionaries. Next I will complete the loop to make sure you can try again after errors