Skip to content

HARRIFIED/mirror-graphql-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirror GraphQL Server

Mirror GraphQL Server is a GraphQL API server that serves as a backend for a social network mobile application. This server is built using Node.js and Apollo Server to provide a flexible and efficient GraphQL interface for the app.

Features

  • GraphQL API: Provides a GraphQL-based API for accessing and manipulating data related to the Mirror app.
  • Real-time Updates: Utilizes subscriptions to provide real-time updates to connected clients.
  • Modular Architecture: Designed with a modular architecture for easy maintenance and scalability.
  • Authentication: Supports authentication mechanisms to ensure secure access to the API.
  • Data Validation: Implements data validation to ensure the integrity and consistency of data.
  • Logging and Monitoring: Incorporates logging and monitoring features for easier debugging and performance analysis.

Installation

To install GraphQL Server locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/HARRIFIED/mirror-graphql-server.git
  2. Navigate to the project directory:

    cd mirror-graphql-server
  3. Install dependencies:

    npm install
  4. Set up environment variables by creating a .env file and specifying the required variables (see .env.example for reference).

  5. Start the server:

    npm start

Usage

Once the server is up and running, you can interact with the GraphQL API using tools like GraphQL Playground or Apollo Client.

The GraphQL endpoint will be available at http://localhost:{PORT}/graphql, where {PORT} is the port specified in your environment variables or the default port 4000.

Contributing

Contributions to Mirror GraphQL Server are welcome! To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature/new-feature
  3. Make your changes and commit them:
    git commit -m "Add new feature"
  4. Push to your branch:
    git push origin feature/new-feature
  5. Create a pull request against the master branch of the original repository.

About

Prototype server of a social media app using graphql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published