All Projects → triestpa → Atlas Of Thrones

triestpa / Atlas Of Thrones

Licence: other
An interactive "Game of Thrones" map powered by Leaflet, PostGIS, and Redis.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Atlas Of Thrones

Blog Service
blog service @nestjs
Stars: ✭ 188 (-25.69%)
Mutual labels:  api, redis, koa
Postgraphile
GraphQL is a new way of communicating with your server. It eliminates the problems of over- and under-fetching, incorporates strong data types, has built-in introspection, documentation and deprecation capabilities, and is implemented in many programming languages. This all leads to gloriously low-latency user experiences, better developer experiences, and much increased productivity. Because of all this, GraphQL is typically used as a replacement for (or companion to) RESTful API services.
Stars: ✭ 10,967 (+4234.78%)
Mutual labels:  api, postgresql, koa
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+734.78%)
Mutual labels:  api, redis, koa
Aclify
🔒 Node Access Control Lists (ACL).
Stars: ✭ 49 (-80.63%)
Mutual labels:  api, redis, postgresql
Datoji
A tiny JSON storage service. Create, Read, Update, Delete and Search JSON data.
Stars: ✭ 222 (-12.25%)
Mutual labels:  api, redis, postgresql
Intermine
A powerful open source data warehouse system
Stars: ✭ 195 (-22.92%)
Mutual labels:  api, postgresql
Jikan Rest
The REST API for Jikan
Stars: ✭ 200 (-20.95%)
Mutual labels:  api, redis
Fastapi Gino Arq Uvicorn
High-performance Async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
Stars: ✭ 204 (-19.37%)
Mutual labels:  api, postgresql
Strapi Sdk Javascript
🔌 Official JavaScript SDK for APIs built with Strapi.
Stars: ✭ 247 (-2.37%)
Mutual labels:  api, koa
Endb
Key-value storage for multiple databases. Supports MongoDB, MySQL, Postgres, Redis, and SQLite.
Stars: ✭ 208 (-17.79%)
Mutual labels:  redis, postgresql
Chartbrew
Open-source web platform for creating charts out of different data sources (databases and APIs) 📈📊
Stars: ✭ 199 (-21.34%)
Mutual labels:  api, postgresql
Firecamp
Serverless Platform for the stateful services
Stars: ✭ 194 (-23.32%)
Mutual labels:  redis, postgresql
Api
API for Current cases and more stuff about COVID-19 and Influenza
Stars: ✭ 2,323 (+818.18%)
Mutual labels:  api, redis
Ember Leaflet
🔥 🍃 Easy and declarative mapping for ember
Stars: ✭ 201 (-20.55%)
Mutual labels:  maps, leaflet
Back End Interview
后端面试题汇总(Python、Redis、MySQL、PostgreSQL、Kafka、数据结构、算法、编程、网络)
Stars: ✭ 188 (-25.69%)
Mutual labels:  redis, postgresql
Octosql
OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
Stars: ✭ 2,579 (+919.37%)
Mutual labels:  redis, postgresql
Php Crud Api
Single file PHP script that adds a REST API to a SQL database
Stars: ✭ 2,904 (+1047.83%)
Mutual labels:  postgis, postgresql
Type Graphql Series
Typescript GraphQL Server built with TypeGraphQL
Stars: ✭ 249 (-1.58%)
Mutual labels:  redis, postgresql
Mapstore2
Modern webmapping with OpenLayers, Leaflet and React
Stars: ✭ 251 (-0.79%)
Mutual labels:  maps, leaflet
Supra Api Nodejs
❤️ Node.js REST API boilerplate
Stars: ✭ 182 (-28.06%)
Mutual labels:  api, postgresql

Atlas-Of-Thrones

An interactive "Game of Thrones" map powered by Leaflet, PostGIS, and Redis.

Visit https://atlasofthrones.com/ to explore the application.

Visit http://blog.patricktriest.com/game-of-thrones-map-node-postgres-redis/ for a tutorial on building the backend, using Node.js, PostGIS, and Redis.

Visit https://blog.patricktriest.com/game-of-thrones-leaflet-webpack/ for part II of the tutorial, which provides a detailed guide to building the frontend webapp using Webpack, Leaflet, and framework-less Javascript components.

Structure

  • app/ - The front-end web application source.
  • public/ - The compiled and minified front-end code.
  • server/ - The Node.js API server code.
  • data_augmentation/ - A collection of scripts to augment the shapefile data with summary data scraped from various wikis.
  • geojson_preview - A simple html page to preview geojson data on a map.

Setup

To setup the project, simply download or clone the project to your local machine and npm install.

You can find a SQL database dump here with all of the content pre-loaded and ready to be queried - https://cdn.patricktriest.com/atlas-of-thrones/atlas_of_thrones.sql

The only extra step is adding a .env file in order to properly initialize the required environment variables.

Here's an example .env file with sensible defaults for local development -

PORT=5000
DATABASE_URL=postgres://[email protected]:5432/atlas_of_thrones?ssl=false
REDIS_HOST=localhost
REDIS_PORT=6379
CORS_ORIGIN=http://localhost:8080

You'll need to change the username in the DATABASE_URL entry to match your PostgreSQL user credentials. Unless your name is "Patrick", that is, in which case it might already be fine.

Run npm run dev to start the API server on localhost:5000, and to build/watch/serve the frontend code from localhost:8080.


This app is 100% open-source, feel free to utilize the code however you would like.

The MIT License (MIT)

Copyright (c) 2018 Patrick Triest

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].