- First, create an account at Schiphol Developer Portal.
- Once registered, obtain an API key for the Flight API v4.
-
In the root folder of the project, create a
.env
file. -
Fill out the
.env
file with the following information:APP_ID=your_app_id_here APP_KEY=your_app_key_here MONGO_CONNECTION_STRING=your_mongo_connection_string_here
Replace
your_app_id_here
,your_app_key_here
, andyour_mongo_connection_string_here
with your actual credentials.
Run the following command to install the necessary Node.js modules:
npm install
Once the dependencies are installed, start the application using the following command:
npm start
-
Navigate to the
frontend
folder in your project. -
Install the necessary Node.js modules by running the following command:
npm install
-
After installing the modules, start the development server using the following command:
npm run dev
-
Navigate to the root folder of the project and run the following command to start the api:
npm start
-
You can now make your changes in the project.
-
Once you have made your changes, run the following command to build the project:
npm run build
-
A folder named
dist
will be created if it doesn't already exist. If the folder exists, it will be updated with the latest build.