Express server for an artists website I am currently creating a website for an artist (my grandfather). My main concern with the code below is readability, as for the most part I have not worked with others on a (programming) project. I use a few external modules but hopefully their purpose is obvious/irrelevant. 

I have been programming with javascript as a hobby for about two years. 

Here is my code:

const express = require('express')
const app = express()
const fs = require('fs')
const gzip = require('express-gzip')
const handleRequest = require('./handleRequest')
const verify = require('../Admin/login').verify

app.use(gzip)
app.use(express.json())

app.get(['/bio', '/contact', '/login', '/works', '/404', '/bug', '/edit-bio', '/edit-works'], (req, res) =&gt; verify(req.query.token).then(result =&gt; fs.readFile((req.path === '/edit-bio' || req.path === '/edit-works' ? result : true) ? ((result &amp;&amp; req.path === '/login') ? '../../Frontend/html/edit-works.html' : `../../Frontend/html${req.path}.html`) : '../../Frontend/html/login.html', (err, data) =&gt; err ? res.status(500).end() : res.end(data))))
app.get('/', (_req, res) =&gt; fs.readFile('../../Frontend/index.html', (err, data) =&gt; err ? res.status(500).end() : res.end(data)))
app.post(/.+/, (req, res) =&gt; handleRequest[req.body.type](req.body).then(result =&gt; result.err ? res.status(500).end(JSON.stringify(result.data)) : res.end(JSON.stringify(result.data))))

app.use('/html', (_req, res) =&gt; res.status(404).redirect('/404'))
app.use(express.static('../../Frontend'))
app.use((_req, res) =&gt; (res.status(404).redirect('/404'))).listen(8080)


This is a simple express server that answers get requests on: '/bio', '/contact', '/login', etc. If the request is to '/edit-bio' or '/edit-works' it verifies a jwt provided in the query string. If it receives a post request of any kind it runs a function corresponding to a type property in that request. It also has a simple 404 page. Finally it uses express.static on a Frontend folder containing the css, js, html, etc.
Some suggestions:


Rewrite the line of code app.get(['/bio', '/contact', '/login', '/works', '/404', '/bug', '/edit-bio', '/edit-works'] ... to be readable and maintainable and debuggable.  It should likely be broken into at least two separate routes.
Separate into different route definitions the paths that care about calling verify() and the ones that don't.
Use express.static for routes that don't appear to have any special processing such as ['/bio', '/contact', '/login', '/works', '/404', '/bug'].
Use res.sendFile() instead of repeating this err ? res.status(500).end() : res.end(data) over and over again.
Put your verify logic into a middleware format so it can easily be attached to any route.