New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/giddy87/flight_booking_api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/giddy87/flight_booking_api

  • v0.0.0-20240602125343-08c98e370ad6
  • Source
  • Go
  • Socket score

Version published
Created
Source

Flight Booking API

Written in Go Database: Postgresql

Deploy application

Step 1: Generate Dummy flight data in a flights.csv file (optional)

go run dummydatagenerator.go 

Step 2: Set env variables. for example,

export DB_PASSWORD=fli7g1ht2api129 \
export DB_NAME=flightapi \
export DB_USER=flightapiuser \
export DB_HOST=postgres \
export DB_PORT=5432

Docker deployment

docker-compose up -d

*This comprises the application, postgres and dataloader container

Application is available at <"your ip">:9000 | localhost:9000

Api documentation

  1. /api/flight docs
  2. /api/passenger docs

FAQs

Package last updated on 02 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc