Skip to content

devMahmoud/space-travelers

 
 

Repository files navigation

Space Travelers' Hub website

This is a web application for a company that provides commercial and scientific space travel services. The application has three pages: Rockets, Missions and My Profile.

Rockets: The Rockets section displays a list of all available SpaceX rockets. Users can book each rocket by clicking the reservation button or cancel the previously made booking.

Missions: The Missions section displays a list of current missions along with their brief description and participation status. There is also a button next to each mission that allows users to join the selected mission or leave the mission the user joined earlier.

My Profile: The My Profile section displays all reserved rockets and space missions.

It also allow users to book rockets and join selected space missions. The data in the application is fetched from the real live data from the SpaceX REST API.

Built With

  • JavaScript-ES6
  • CSS3
  • ReactJS
  • Redux

Live Demo

GitHub Live Demo Link

Getting Started

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

Prerequisites

Open your terminal and navigate to the folder you would like to save the project.

Setup

Type these commands into the terminal:

git clone https://github.com/rbanos-mv/space-travelers.git
cd space-travelers

You will need a .env file before you install and run the project. The .env file contains environment variables needed to deploy the webpage. There is a commented .env.example file you can use as a guide to configure your own. Type the following command into the terminal (or Git Bash, if using Windows) to create your .env file:

cp .env.example .env

Install

Type this command into the terminal:

npm install

Build

Type these commands into the terminal:

npm run build
  • Open build/index.html in your web browser.

Run dev server

Type these commands into the terminal:

npm run start

Run tests

Type this command into the terminal:

npm run test

Deployment

npm run deploy

Authors

👤 Roberto A. Baños Alvarez

👤 Mahmoud Makhlouf

🤝 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.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.8%
  • CSS 9.7%
  • HTML 2.1%
  • Shell 0.4%