- Getting Started
- Technology Stack
- Installation
- Usage
- Testing
- API Endpoints
- Questions
- Support or Contribution
This is a javascript application built with Node JS using Express framework on the backend and React JS on the frontend.
Server Side
- NodeJS
- Express FrameWork
Client Side
- Vue JS
- WebPack
-
Install Node JS.
-
Clone the repository here
-
[cd] into the root of the project directory.
-
Run
pnpm install
on the terminal to install project dependecies -
Create a
.env
file in the root directory of the application. Example of the content of a .env file is shown in the .env.sample -
Start the application: Different Build Environments
Production
pnpm start:fend-build
pnpm build:server-prod
pnpm start:server-prod
Development
pnpm start:fend-dev
pnpm server:dev
Client side tests - Run pnpm run test
on the terminal while within the project root directory.
Client side testing is achieved through the use of vitest
, vue/test-utils
packages
Api endpoints were created using express
router.
Request type | Endpoint | Action |
---|---|---|
GET | /api/v1/priceoffers | Gets all flights from the custom API |
For more details contact [email protected]