Module heading comments
This commit is contained in:
parent
ae17f6db14
commit
c8b320e48d
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Client-side entry point to shared frontend React App
|
||||
*
|
||||
*/
|
||||
import BrowserRouter from 'react-router-dom/BrowserRouter';
|
||||
import React from 'react';
|
||||
import { hydrate } from 'react-dom';
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Load server and listen
|
||||
*
|
||||
*/
|
||||
import app from './server';
|
||||
import http from 'http';
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
/**
|
||||
* Server-side Express application
|
||||
* - API methods
|
||||
* - entry-point to shared React App
|
||||
*
|
||||
*/
|
||||
import React from 'react';
|
||||
import { StaticRouter } from 'react-router-dom';
|
||||
import express from 'express';
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Tile-rendering helpers
|
||||
*
|
||||
*/
|
||||
import path from 'path';
|
||||
import mapnik from 'mapnik';
|
||||
import SphericalMercator from '@mapbox/sphericalmercator';
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Tileserver routes for Express app
|
||||
*
|
||||
*/
|
||||
import express from 'express';
|
||||
|
||||
import { get_bbox, render_tile } from './tile';
|
||||
|
Loading…
Reference in New Issue
Block a user