Skip to content
Snippets Groups Projects
Commit a7df51c8 authored by Humaid Mustajab's avatar Humaid Mustajab
Browse files

FUNCTIONAL PRODUCT

parent aca29bf2
Branches
No related tags found
No related merge requests found
...@@ -20,3 +20,6 @@ ...@@ -20,3 +20,6 @@
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
node_modules
back-end/env.json
\ No newline at end of file
{ {
"user": "postgres",
"host": "localhost", "host": "localhost",
"database": "starlinktracker",
"password": "Mac1",
"port": 5432,
"base_api_url": "https://www.n2yo.com/rest/v1/satellite/", "base_api_url": "https://www.n2yo.com/rest/v1/satellite/",
"api_key": "R8SFPS-EP92UH-F829BU-4IQA" "api_key": "R8SFPS-EP92UH-F829BU-4IQA",
"user": "postgres",
"database": "starlinktracker",
"password": "ADD YOUR OWN PASSWORD",
"port": 5432
} }
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
"description": "", "description": "",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"dev": "concurrently \"npm run server\" \"npm run client\"", "dev-run": "concurrently \"npm run server\" \"npm run client\"",
"client-install": "cd client && npm install", "project-install": "npm install && cd ../front-end && npm install ",
"start": "node server.js", "start": "node server.js",
"server": "nodemon server.js", "server": "nodemon server.js",
"client": "npm start --prefix ../front-end" "client": "npm start --prefix ../front-end"
... ...
......
Citations:
Satellitle API related stuff:
1. https://www.n2yo.com/api/
\ No newline at end of file
# Starlink Tracker # Starlink Tracker
A way to get location (latitude and longitude), elevation, speed and other relevant data from individual satellites from the Starlink constellation Project Description:
\ No newline at end of file A project designed to collect and display data, such as the location (i.e. Latitude and Longitude), elevation, and speed, of individual satellites from the Starlink satellite constellation
The satellites are broken down into groups by their launch dates. Users have the option of visualizing this data in a detailed table format or on a globe map. In the map visualization, users
can select a single satellite to see it’s x,y,z coordinates as well as its corresponding x,y,z velocities. The map also includes a feature to track that satellite’s path.
## Installation
## License
MIT
\ No newline at end of file
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br />
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
### Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
### Making a Progressive Web App
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
### Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
### Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
### `npm run build` fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
"fontsource-roboto": "^3.0.3", "fontsource-roboto": "^3.0.3",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-scripts": "^3.4.3", "react-scripts": "^3.4.3"
"typescript": "^4.0.2"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
... ...
......
<!DOCTYPE html>
<html lang="en"></html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Starlink Tracker</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script>
function get_sidebar(){
document.getElementById("sidebar").classList.toggle('active');
document.getElementById("main").classList.toggle('active');
}
function clickMe4(){
document.getElementById("dropdown").classList.toggle('active');
}
</script>
<div id="sidebar">
<div class="toggle" onclick="get_sidebar()">
<span></span>
<span></span>
<span></span>
</div>
<ul>
<li onclick="clickMe1()">Option 1</li>
<li onclick="clickMe2()">Option 2</li>
<li onclick="clickMe3()">Option 3</li>
<li>
<div onclick="clickMe4()" >Option 4 &#9662;</div>
<ul id = "dropdown">
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</li>
<li>Nothing to see here</li>
</ul>
</div>
<div id="main">
<div id="primaryButtonDiv">
<button id="method1">Track satellties on a 2D/3D Map</button>
<button id="method2">Satellite tracking data</button>
</div>
<div id="textBoxDiv"></div>
<div id="mainDiv"></div>
<div id="mapDiv"></div>
</div>
<script type="text/javascript" src="tablesFunctions.js"></script>
<script type="text/javascript" src="orbitTrackButtonFunc.js"></script>
<script type="text/javascript" src="tables.js"></script>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment