Skip to content

Repository files navigation

Fastify, Express and Apollo’s Graphql Performance Comparison

Performance testing with using fastify, express and apollo servers.

Tech

This app uses a number of open source projects to work properly:

  • [VueJS] - HTML enhanced for web apps!
  • [Fastify] - fast and new node.js network app framework
  • [Express] - fast node.js network app framework
  • [Apollo-Graphql] - node.js network app framework for Graphql
  • [node.js] - evented I/O for the backend

Installation

This app requires Node.js v15.3.0 to run.

Install the dependencies and devDependencies and start the server.

$ cd apollo-api
$ npm install
$ npm run server
$ cd fastify-api
$ npm install
$ npm run serve
$ cd fastify-mercuries-api
$ npm install
$ npm run serve
$ cd express-api
$ npm install
$ npm run serve
$ cd apollo-express-api
$ npm install
$ npm run serve
$ cd vue-dashboard
$ npm install
$ npm run serve

Create MongoDB Local Database with Docker

You can create your local mongo db as follows.

$ cd fastify-api
$ docker-compose up --build -d

Seed Dummy Data

You can seed dummy data in your database.

$ cd fastify-api/db/seeders
$ node seed.js

Development

Want to contribute? Great!

Todos

  • Write MORE Tests

License

MIT

Releases

Packages

Contributors

Languages