Video Documetation: https://bit.ly/3crkTjU
Geenie is built upon React JS, and Material UI library that was mainly used for components, templates and pages. Also, for sky mapping, Aladin API was used. This API was successfully integrated in the frontend UI as a ReactJS component, despite of it being an archaic and purely HTML component.
To get the project up and running, and view it in the browser, complete the following steps:
- Download and install Node: https://nodejs.org/
- Clone this repo.
- Install project dependancies:
npm install
- Start the development environment:
npm start
- Open your browser and visit http://localhost:3000
When developing components, you may want assets automatically compiled and the browser to refresh automatically. To do this, run the following task:
npm run dev
To create a static instance of this project, run the following task:
npm run build
This will create a folder called www
, into which the required files will be created.
To make this project publicly accessible, you can deploy a static instance by running the following task:
npm run publish
This will publish the contents of public
to your gh-pages
branch.
Sometimes it’s helpful to know what all these different files are for…
/
├─ src/
│ ├─ components/ # Components
│ │ ├─ Aladin/ # …that renders Aladin sky map
│ │ ├─ Cards/ # …that appears as the Sidebar
│ │ ├─ ModalCard/ # …that appear as a popup on first visit
│ │ ├─ Topbar/ # …that renders the Topbar
├─ .eslintrc # Linting preferences for JavasScript
├─ LICENSE # License information for this project
├─ package.json # Project manifest
└─ README.md # This file