Skip to content

Sample project illustrating the integration of Fastify and Mercurius GraphQL to develop a simple cats sharing network application

Notifications You must be signed in to change notification settings

dangkhoa2016/Fastify-Mercurius-GraphQL

 
 

Repository files navigation

Fastify Mercurius GraphQL

Introduction

This is a sample project illustrating the integration of Fastify and Mercurius GraphQL to develop a simple cats sharing network application. This project leverages cutting-edge technologies to deliver a robust and efficient solution.

Technologies Used

  • Fastify: A high-performance web framework for Node.js known for its speed and low overhead.
  • Mercurius: A GraphQL adapter for Fastify, enabling seamless GraphQL integration into Fastify applications.
  • Knex.js: A SQL query builder for Node.js that supports multiple database systems, simplifying database interactions and migrations.
  • SQLite3: A lightweight, serverless relational database engine used for local development and testing purposes.

Key Features

  • Follow/Unfollow Users: Establish connections with other users to stay updated on their activities.
  • Like/Unlike Cats: Interact with adorable cat profiles by liking or unliking them.
  • Like/Unlike Photos: Engage with captivating cat photos through likes and unlikes.
  • Admin Controls: Administrators can manage user accounts, cat profiles, and uploaded photos by enabling or disabling them.

Prerequisites

Ensure you have the following installed before proceeding:

  • Node.js
  • Yarn

Getting Started

Follow these steps to set up and run the project:

  1. Clone this repository to your local machine.
  2. Navigate to the project directory in your terminal.
  3. Run yarn to install all project dependencies.
  4. Execute yarn dev to start the server.
  5. Open your web browser and go to http://localhost:3000/graphiql to access the GraphiQL playground.

License

This project is licensed under the MIT License. For more details, refer to the LICENSE file.

Authors

About

Sample project illustrating the integration of Fastify and Mercurius GraphQL to develop a simple cats sharing network application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.2%
  • JavaScript 21.7%
  • Dockerfile 0.1%