Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

canitext911/api

Repository files navigation

CANiTEXT911 API

Lumen-powered backend for api.canitext911.us.

Requirements

Environment

# database config
DB_CONNECTION=pgsql
DATABASE_URL=postgres://username:password@host:5432/database

# service endpoints
CIT_IP_LOCATION_ENDPOINT='http://ip-api.com/json/${IP_ADDR}'
CIT_TEXT_REGISTRY_ENDPOINT='https://www.fcc.gov/file/12285/download'

Setup

# install dependencies
composer install

# run migrations
php artisan migrate

# fetch psap registry
php artisan psap:index

# serve
php -S localhost:8000 -t public

Contributions

Thanks for considering contributing! Please open an issue prior to submitting any pull requests.

License

This project is open-sourced software licensed under the MIT license.

About

Extraction service built to connect CanIText911 to the FCC PSAP database

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages