Screenshot | Screenshot |
---|---|
StarGaze is a web application that allows users to explore astronomy-related data and imagery. The application utilizes several NASA APIs to provide a rich and informative experience for users interested in space and celestial objects.
- EPIC Imagery: View daily imagery of Earth captured by DSCOVR's Earth Polychromatic Imaging Camera (EPIC).
- Near Earth Objects: Explore information about Near Earth Objects (NEOs) such as asteroids, including their size, velocity, and potential hazard level.
- Astronomy Picture of the Day: Discover the astronomy picture of the day along with detailed explanations and keywords.
- Asteroids: Fetch information about asteroids using the NASA Asteroids API.
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: Firebase Authentication (Google Login)
- Jest:testing
-
Clone the repository:
https://github.com/sliitcsse/se3040-assignment02-SarangaSiriwardhana9.git
2.Install dependencies:
cd StarGaze/client
npm install
cd ../server
npm install
3.Set up environment variables:
REACT_APP_NASA_API=your_nasa_api_key
4.Create a .env file in the server folder and add your Firebase config
FIREBASE_API_KEY=your_firebase_api_key
FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
FIREBASE_PROJECT_ID=your_firebase_project_id
5.Start the frontend and backend servers:
cd client
npm start
cd ../server
npm start
6.Access the application at http://localhost:3000.