Skip to content

Mecklenburg County historic scans viewer

License

Notifications You must be signed in to change notification settings

gencharitaci/thearchive

 
 

Repository files navigation

The Archive

Mecklenburg County historic scans viewer, built with Svelte, TailwindCSS, and Leaflet. The development and build environment is Vite.

Site: https://maps.mecknc.gov/thearchive

Architecture

Architecture

The Archive is a single page application (SPA) and a progressive web app (PWA). Scan images are located on a web server folder. A database table accessed through the Dirt API is an index of the images used for searches and to return additional information. The Dirt API is also used to autocomplete addresses to return the tax book and page for the tax map scans.

Leaflet is being used as a non-spatial image viewer - the images are not spatial.

Using the project

Node.js is required to run the development and build systems, and git is required to use the versioning system.

Clone the project

git clone https://github.com/tobinbradley/thearchive.git

Install dependencies

cd thearchive
npm install

Start the development server

npm run dev

Navigate a web browser to http://localhost:3000 to view the HMR live development server.

Build for production

npm run build

After the build is complete, copy the contents of the dist folder to the production web server.

About

Mecklenburg County historic scans viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 71.4%
  • JavaScript 14.3%
  • HTML 9.7%
  • CSS 4.6%