Overview
Antariksh 🚀 is a virtual space world built using Stack✨ NextJS with Server Side Rendering (SSR) and Static Site Generation (SSG) methods. It utilizes Tailwind CSS for the UI component design and fetches images from the NASA API, including the astronomy picture of the day and other topic images.
Features
- Server Side Rendering (SSR) and Static Site Generation (SSG) with NextJS
- UI components designed with Tailwind CSS
- Integration with the NASA API for fetching astronomy pictures and other topic images
Installation
- Get your API keys from NASA.
- Make a
.envfile in the root of the project and add the API key to theAPI_KEYvariable. (Refer to theexample.envfile provided in the repository).
API_KEY=YOUR_API_KEY
- Run the development server by executing the following command in the project directory:
npm run dev
- Open
http://localhost:3000in your browser to see the result. - You can start editing the page by modifying
pages/index.js. The page will auto-update as you edit the file.
API routes can be accessed at http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js. The pages/api directory is mapped to /api/* and files in this directory are treated as API routes instead of React pages.
Summary
Antariksh 🚀 is a virtual space world built using Stack✨ NextJS with SSR and SSG methods. It incorporates Tailwind CSS for designing UI components and integrates with the NASA API to fetch astronomy pictures and other topic images. The project can be easily set up locally and developers can contribute to its development by following the guidelines provided in the Contributing.md file. It is built with Next.js and can be deployed on the Vercel Platform.