Skip to content

mohanMERNdev/airport-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

airport-api

Description: RESTful API using Node.js, Express.js, Sequelize ORM, and SQLite to fetch airport information by IATA codes.

Installation:

Clone the repository: git clone Navigate to project directory: cd airport-api Install dependencies: npm install Start the server: npm start Access the API at Database: SQLite database (alldata.db) with tables:

airport: Stores airport details. city: Stores city details. country: Stores country details. API Endpoints:

Get Airport by IATA Code: URL: /airport Method: GET Parameters: iata_code Response: Detailed airport information in JSON format. Dependencies:

express: Web framework for Node.js. sequelize: Promise-based ORM for Node.js. sqlite3: SQLite driver for Node.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published