A user-friendly web application for simplified flight ticket booking, streamlining your travel plans.
To run the web application locally, follow the Installation Guide these steps:
Server
- Run /server/src/main/java/com/flyease/server/
ServerApplication.java
- Access the server in your web browser at
http://localhost:8080
.
Database
- Install sqlite3 from SQLite Download Page.
- Useful extensions on VSCode:
- SQLite3 Editor (ID: yy0931.vscode-sqlite3-editor)
- SQLite (ID: alexcvzz.vscode-sqlite)
- After installing sqlite3 and the extensions, the .sqlite3 file
/server/database/data.sqlite3
can be viewed and edited.
Client
- Install Node.js
- Open terminal
cd client
npm start
if there is an error (below), run npm install react-scripts --save
and try again
'react-scripts' is not recognized as an internal or external command, operable program or batch file.
- Access the web application in your web browser at
http://localhost:3000
. - Extensions for VSCode:
- ES7+ React/Redux/React-Native snippets (ID: dsznajder.es7-react-js-snippets)
- For testing API purposes, you can use Postman to access the server at http://localhost:8080 and the available API endpoints can be referred to in the corresponding controllers.
- To access the client side of our Flight Ticket Booking Website, please visit http://localhost:3000. For GUI Preview, can refer here.