> For the complete documentation index, see [llms.txt](https://docs.boston.gov/digital/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boston.gov/digital/guides/legacy-website-cityofboston.gov/architecture/proposed-restructure/backend.md).

# Backend

The legacy back-end sits mainly on a MSSQL Server, with some data manipulation performed by asp pages on the IIS server

As a first step, it is possible to strip all business logic and processing from the SQL server, and extract to a module within Drupal.

The best way to do this might be to create a rest service which is capable of subscribing and unsubscribing users, and processing alerts.

Then a front end can be created to call the various endpoints of the REST service to query, add and remove subscriberse
