Testing of the apollo react (hooks based) client with the Haunted webcomponents library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
223 B

6 years ago
import express from 'express';
import server from './apollo';
const app = express();
server.applyMiddleware({ app });
app.use(express.static('dist/web'));
app.listen(8080, () => {
console.log('Server started');
});