rsnext/examples/with-relay-modern-server-express/server/db.js
Diogo Dutra a996fba09c Added a new example with relay modern and a graphql server with express. (#4670)
* Added a new example with relay modern and a graphql server with express.

* removed .graphqlconfig file from with-relay-modern-server-express example
2018-12-10 16:50:35 +01:00

34 lines
543 B
JavaScript

module.exports = {
blogPosts: [
{
id: 'p1',
title: 'Title 1',
content: 'Lorem Ipsum 1'
},
{
id: 'p2',
title: 'Title 2',
content: 'Lorem Ipsum 2'
},
{
id: 'p3',
title: 'Title 3',
content: 'Lorem Ipsum 3'
},
{
id: 'p4',
title: 'Title 4',
content: 'Lorem Ipsum 4'
},
{
id: 'p5',
title: 'Title 5',
content: 'Lorem Ipsum 5'
},
{
id: 'p6',
title: 'Title 6',
content: 'Lorem Ipsum 6'
}
]
}