Skip to content

kubijaku/TravelAgency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel agency

License GitHub Stars GitHub Issues GitHub Forks

Description

Travel agency app is an example of a travel agency app. You can see multiple trips on the trips screen, delete them, check their prices in PLN as well as in Euro and reserve or unreserve a trip.

TripsScreen

Installation from docker

  1. Clone docker image (there are also docker images for specific processor arm and amd).

Usage docker image

  1. run docker image using
docker run -p 4200:4200 kubijaku/travel_agency_app

( or docker run -p 4200:4200 kubijaku/travel_agency_app_amd64 for amd image and docker run -p 4200:4200 kubijaku/travel_agency_app_arm64 for arm image).

Installation from repository

  1. Clone the repository: git clone https://github.com/kubijaku/TravelAgency.git
  2. Navigate to the project directory: cd client
  3. Install dependencies: npm install

Usage

To run the app locally, use the following command:

ng serve

Visit http://localhost:4200 in your browser to view the app.

Features

Choose server

After running app you'll see a screen for server choosing. You should press firebase server if you don't have have the local one. The local server is availble on docker image but you need credentials from contributor - contact.

Login

Log in

After running app you'll see log in screen where you can log in if you already have an account on the platform.

Login

If you forget your password you can press the button "send email" under the username and password form. It will move you to reset password screen. If you don't have an account you can register on register page.

Reset password

Here you can reset your password by filling in form with your email and pressing button "Reset Password". The link for resetting password will be send to your email box.

ResetPassword

Sign Up

You can register with this page. The proccess won't work if you already have an account (an error will be occured).

SignUp

Home

If you're logged in you will see the home page of the platform.

MainScreen

From this page you can move to trips screen using button "Zobacz Wycieczki" or with a navigation bar witch is located in the top left corner. From the navigation you can also log out and move to the actual page - home screen.

Trips

Here you can browse available trips, delete them (using trash icon placed in the bottom right corner of each trip), check the price in PLN and EURO of each trip. You can also reserve and unreseve trip using buttons "Zarezerwuj" or "Odrezerwuj". There's no possiblity to unreserve trip with maximum available places or reserve trip with no available places.

MainScreen

The cheapest trip is marked with a green border and the most expensive one with the red border.

Chepeast MostExpensive

Under the trips you can see summary of the reservations. If the number of reserved trips is less or equal 5 the background of summary will be red, unlike it will be green.

MostExpensive

Chepeast

404 page

If you manually would like to go to unexisting page you will be moved to 404 page with possibility to redirect to home page by pressing "Przejdź do domu".

Chepeast

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any bugs or have feature requests.

Contact

For any inquiries or support, please contact me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published