Ghost/core/server
Hannah Wolfe 53d14fd8e3 Added Router etc to shared/express + use everywhere
- Added a wrapper around express.Router to our shared/express util
- Also export static and _express
- Use this shared util everywhre, meaning express is only used directly in this one file
- ATM this file is mostly an experiment / debug helper, it might be removed again later
- The aim is to have a minimal framework wrapping express that allows us to:
     - reduce our usage of express() in favour of Router()
     - unify some of our duplicated logic
     - fix some structural issues e.g. Sentry
     - make it easier to understand the codebase
2020-05-01 19:32:57 +01:00
..
adapters Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00
api Added new members/api/site endpoint 2020-04-30 19:50:40 +01:00
config Moved members API out of backend 2020-04-30 18:18:39 +01:00
data Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
lib Refactor common pattern in service files 2020-04-30 20:48:42 +01:00
models Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Cleaned up some weird require paths 2020-05-01 18:00:57 +01:00
translations Remove External Apps 2020-03-20 10:40:22 +00:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00
analytics-events.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00
ghost-server.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00