Spacestagram
The main idea behind this project is to build a website for the space junkies out there who can glance at space images all day long. Here anyone can "like", "unlike" or "share" the images fetched from NASA's API. The images fetched here are randomly chosen "Astronomy Picture of Day (APOD)". Respective date and title are mentioned with the image for a better idea. To contribute, checkout the guidelines here.
Setting up NASA credentials
To access this website, you have to create an API key in order to use NASA's API call. Follow the steps below to create one:
- Visit https://api.nasa.gov
- Enter basic details which are asked (like name, email) and the API key will be generated
Get Started
- Fork the repository and clone it.
- Please ensure that latest versions of "nodeJs" is installed on the system. "node -v" commands helps in ensuring that they are properly installed on the system.
- Use "cd" command to change to the project directory.
- Run "npm install" to install all the dependencies.
- You will need a "config.js" file in the src/ folder for the system to run successfully. An example for the config.js file has been written in exampleConfig.js. Modify the NASA API key value as you need and required before starting.
- Run "npm start" to start a local server
- Visit http://localhost:3000/ in the browser to open the app.
List of all major libraries used :-
- ReactJs (Frontend framework)