A decentralized flight ticket booking system.
View Live
Table of Contents
This decentralized flight ticket booking system was developed using the ICP (Internet Computer Protocol), Motoko programming language for the backend, and React for the front end. It lets users search for flights, book tickets securely, and conveniently download e-tickets. Say goodbye to intermediaries and embrace a transparent, efficient, and decentralized approach to flight bookings.
The following technologies and libraries are used for the development of this website
If you want to test your project locally, you can use the following commands:
# Starts the replica, running in the background
dfx start --background
# Deploys your canisters to the replica and generates your candid interface
dfx deploy
Once the job completes, your application will be available at http://localhost:4943?canisterId={asset_canister_id}
.
If you have made changes to your backend canister, you can generate a new candid interface with
npm run generate
at any time. This is recommended before starting the frontend development server, and will be run automatically any time you run dfx deploy
.
If you are making frontend changes, you can start a development server with
npm start
Which will start a server at http://localhost:8080
, proxying API requests to the replica at port 4943.