---
title: "Discussion on \"Build and Deploy your first REACT app using the NASA api\" | Hashnode"
description: "Discussion on \"Build and Deploy your first REACT app using the NASA api\". Build a gallery app using React v18 and the NASA APOD API"
url: "https://hashnode.com/posts/build-and-deploy-your-first-react-app-using-the-nasa-api/6247e04716cdedfe9f7cc7d7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Build and Deploy your first REACT app using the NASA api](https://yuricodesbot.hashnode.dev/build-and-deploy-your-first-react-app-using-the-nasa-api?utm_source=hashnode&utm_medium=feed)

Build a gallery app using React v18 and the NASA APOD API

Apr 2, 2022 · 8 min read · yuricodesbot.hashnode.dev  
Updated May 4, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-native](https://hashnode.com/tag/react-native)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Yuri](https://hashnode.com/@YuriCodesBot)

@YuriCodesBot

  
[View profile](https://hashnode.com/@YuriCodesBot)

Twitter: @Yuricodesbot | Self/Community Taught | Writer | Let's learn together

I'm self/community-taught from Law to now Full-Stack Developer! Sharing my notes and knowledge hoping i help this lovely community. Learn with me! :)

## Responses 2

Markdown supported · ⌘↵ to post

[Victor Souza](https://hashnode.com/@victor0x16)

[Apr 2, 2022](https://hashnode.com/posts/build-and-deploy-your-first-react-app-using-the-nasa-api/6247e04716cdedfe9f7cc7d7/comment/62489bcc4b4dde0dc0be7323)

Hi [Yuri](https://hashnode.com/@YuriCodesBot), thanks for sharing it. I was looking for something to build today✨🎉!

I just would like to point out that the api key will be visible after you run:

```
yarn build
```

And it can be found on Dev tools.

[Yuri](https://hashnode.com/@YuriCodesBot)

[Apr 5, 2022](https://hashnode.com/posts/build-and-deploy-your-first-react-app-using-the-nasa-api/6247e04716cdedfe9f7cc7d7/comment/62489bcc4b4dde0dc0be7323#reply-624cb93924471c433062c6bb)

Thank you for reading! That's why i made the important distinction on keeping your api keys on the back end instead:\] it's really easy to figure them out when you know how to look. I really hope you had fun building it!

[Victor Souza](https://hashnode.com/@victor0x16)

[Apr 6, 2022](https://hashnode.com/posts/build-and-deploy-your-first-react-app-using-the-nasa-api/6247e04716cdedfe9f7cc7d7/comment/62489bcc4b4dde0dc0be7323#reply-624dafc7acbdc253564c5125)

[Yuri](https://hashnode.com/@YuriCodesBot), you should take a look at [environment-variables on CRA docs](https://create-react-app.dev/docs/adding-custom-environment-variables)

I'm not able to explain it here, but it seems a back-end is needed to really "hidden" your **secret api keys**.

I hope I could help somehow.

[Diego Ballesteros (Relatable Code)](https://hashnode.com/@diegoballesteros)

[Apr 2, 2022](https://hashnode.com/posts/build-and-deploy-your-first-react-app-using-the-nasa-api/6247e04716cdedfe9f7cc7d7/comment/6248398d4b4dde0dc0be6a97)

Very thorough article! Also liked how you included all the steps including the deployment.

Been a pretty big fan of netlify for a while now.

[Yuri](https://hashnode.com/@YuriCodesBot)

[Apr 5, 2022](https://hashnode.com/posts/build-and-deploy-your-first-react-app-using-the-nasa-api/6247e04716cdedfe9f7cc7d7/comment/6248398d4b4dde0dc0be6a97#reply-624cb96124471c433062c6bf)

Thank you, Diego! Me too, it's my favorite.
