Skip to content

This project consumes real live data from the SpaceX API. This application is built for a fake company that provides commercial and scientific space travel services. The application will allow users to book rockets and join selected space missions. Built with REACT | REDUX | SpaceX APi

Notifications You must be signed in to change notification settings

OybekKayumov/space-travellers-hub1

Repository files navigation

REACT README

Space Travelers' Hub

"This project consumes real live data from the SpaceX API. This application is built for a fake company that provides commercial and scientific space travel services. The application will allow users to book rockets and join selected space missions."

image

image

image

Built With

  • REACT
  • REDUX
  • SpaceX API
  • HTML & CSS

Live Demo

Live Demo Link GitHub

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Text Editor | Git and Github set up

Setup

  • Clone repository and open with text editor

Dependencies

  • Run npm install - to load necessary files from package.json

Linter Setup

  • Apply Linter checks with the following instructions
  • Stylelint: Install stylelint for clean Styles and elimination of related errors. Run:npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x Afterwards create a .stylelintrc.json file and then run npx stylelint "**/*.{css,scss}" to check errors. Use npx stylelint "**/*.{css,scss}" --fix to fix multiple errors.

  • Eslint: To find and fix script errors, run npm install --save-dev eslint@7.x eslint-config-airbnb@18.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@4.x @babel/eslint-parser@7.x @babel/core@7.x @babel/plugin-syntax-jsx@7.x @babel/preset-react@7.x @babel/preset-react@7.x After, create a .eslintrc.json file. Then run npx eslint . to print errors. Use npx eslint . --fix to fix multiple errors.

Usage

  • View APP
  • Click on a Reserve Rocket to book a rocket
  • Click on Cancel Reservation to un-book a rocket
  • Click on Join a mission to book missions
  • View Active Member
  • Click on Leave mission to un-book mission
  • View Not a Member
  • View booked missions and Rockets in My Profile

Testing

  • open src/__test__ folder
  • Enter any test file
  • Run npm test to test all files

Authors

👤 Oybek Kayumov

👤 STEVE W DAMES JR

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

📝 License

This project is MIT licensed.

About

This project consumes real live data from the SpaceX API. This application is built for a fake company that provides commercial and scientific space travel services. The application will allow users to book rockets and join selected space missions. Built with REACT | REDUX | SpaceX APi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published