*CREATE TWO TERMINAL AND RUN FRONTEND ON ONE TERMINAL AND BACKEND ON ANOTHER TERMINAL AS SHOWN IN BELOW IMAGE.
**FRONTEND IS RUNNING ON THE PORT "3000"(localhost:3000) AND BACKEND IS RUNING ON THE PORT "3001"(localhost:3001)
=> for starting the backend go inside the backend directory eg :- "Astronomy-Picture-of-the-Day/BackEnd "
=> start the backend by "npm start" command
=> In the backend part there a "src" directory that contains all the backend code.
=> In side the "src" we have "controller", "model", "router" directory and "index.js" file.
=> In side the "controller" we have the "astroController.js" file that contains the API for fetching the data from "NASA" url and storing the data in Database.
=> Then we have the "Model" that contains the "Schema"
=> Then the "router" directory contains the routes.
=> In "index.js" file we are using the "express" framework and connecting to the "MngoDB" database.
=> for starting the frontend go inside the frontend directory eg :- "Astronomy-Picture-of-the-Day/FrontEnd "
=> start the backend by "npm start" command
=> Inside "FrontEnd" directory we have "src" directory that contains all the code for frontend.
=> Inside "src" we hav "componets" directory that contains all the components.