Skip to content

STAR - Space Technology And Research - React.js Powered by NASA API. A team of university students made project.

Notifications You must be signed in to change notification settings

fabianwolski/STAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STAR - Space Technology and Research - Powered by NASA

Technologies Used - React.js, Three.js, Firebase, Bootstrap/CSS, interacting with NASA API and Google Maps API. Cypress was used for component testing. Deployed on netlify - https://velvety-capybara-459448.netlify.app/.

Prerequisites:

Node.js installed and npm(comes with Node.js) Git installed

Local Machine Setup [TESTED]:

1. Click the <>Code drop down button inside our github STAR repository page.

Under the HTTPS tab copy the following link: https://github.com/fabianwolski/STAR.git

2. Create a new folder on your local machine where you would like to clone the

repository into.

3. Open VSCode(or in GitBash), open the fresh folder you have just created, go into view>terminal. Once you have the terminal open

run the following command:

git clone https://github.com/fabianwolski/STAR.git

[ERROR] git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program.

This means you have not installed git or there is issues with your current version. Please install/reinstall

4. Navigate to project directory

run the following command: cd STAR

5 Installing dependencies

run the following commands:

npm run legacy

npm install --legacy-peer-deps

If you get this error: [ERROR] npm ERR! While resolving: [email protected] Run npm install i react-lottie --legacy-peer-deps once again. All this is is that we are using React 18 while currently lottie supports React 16 and under. This is just for the animation aspect of our project.

6. Start the project

run the following command: npm start

7. Application Testing

Install the necessary dependencies by running the following command:

npm install cypress --save-dev --legacy-peer-deps

Next navigate to the root folder. And run the following command: npx cypress open

This will open cypress. Go into component testing and click start testing in your desired browser. In the Component specs section you should find our current tests:

Alt text

Alt text

Alt text

You are now settup to run you own test cases.

About

STAR - Space Technology And Research - React.js Powered by NASA API. A team of university students made project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6