DEV Community

Edward Naidoo
Edward Naidoo

Posted on

Day 6 in Redesigning Nasa's Astronomy Picture of the Day

It has definitely been a while since I last posted. Unfortunately, I have not been spending every single day on the project, so I'm going to start again.


🚀 Here is what I have learned so far

What is an API?

Formally, an API is an Application Programming Interface. It is used almost everywhere on the internet and is a gate-key to information stored on a database or where-ever it is stored so developers like us can easily access it.

An API is a set of defined rules that explain how computers or applications communicate with one another.


Request? Response?

Those two words are exceptionally important, and are commonly used words when making or talking about APIs.

A Request is what is sent to the Web server's URI by your API which consists of verbs generally. Uniform Resource Identifier or URI, is a locater with a compact string of characters which identifies resources and locates a resource by depicting its primary access mechanism. Theres a ton of information on how a URI works, but is out of scope for this project. I could come across it in the future, if that does happen, I will document my entire journey through that. I have linked a few resources to support my explanation.


⚙️ Changes to the project

So today I have organized the /src directory in the project. Instead of having everything in the /src directory, I have created a components folder with each component having their own directory, then a static folder to put all of the pictures and svgs.

Folder Structure

As you can see from this image, everything is made, and placed, were it will be for the foreseeable future.


Once again, thank you for reading this blog, it's been the longest I have gone without posting, and I will make a comeback with maintaining my weekly streak.

If you want to be notified on any changed on this project, follow my Twitter! I keep track with the things I do and regularly post this projects documentation on DEV.to (which was not that much since I have not posted in a while), and put any useful information that could a lot in your life.

If you would like to see this project, consider checking my Github project and my Github account!

See you Next Time!


📚 Resources - What is an API?

💻 Resources - Request? Response?

Top comments (0)