Giter Club home page Giter Club logo

rest-and-graphql's Introduction

Scalable API Architecture

Codacy Badge

This repository is a demostration of highly scalable & easily maintainable codebase architecture for both REST & GraphQL API interface.

Banner

Tech Stack

  • Node.js
  • GraphQL
  • MySQL

Work Progress

  • Upcoming APIs in this repo
    • User Registration
    • ACL
    • Admin Portal
    • Seller Portal
  • Unit Testing
    • REST endpoints
    • GraphQL endpoints
  • CI and CD

Run locally

Notes

  • Contents of .env file
PORT=8080
NODE_ENV = development
READ_DB_HOST = localhost
READ_DB_USER = root
READ_DB_PASSWORD = password
READ_DB_NAME = awesome_products
READ_DB_PORT = 3306
READ_DB_CONNECTION_LIMIT = 10
WRITE_DB_HOST = localhost
WRITE_DB_USER = root
WRITE_DB_PASSWORD = password
WRITE_DB_NAME = awesome_products
WRITE_DB_PORT = 3306
WRITE_DB_CONNECTION_LIMIT = 10
  • Use the SQL file located in resources folder to create the database

rest-and-graphql's People

Contributors

anuraghazra avatar ashokdey avatar codacy-badger avatar dependabot[bot] avatar souravdasslg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

rest-and-graphql's Issues

Update existing record using GrapQL + Node.js [Mutation]

The REST API part is complete and working fine, however, the CRUD is not implemented in GraphQL

What is required?

  • Update a record using GrapQL mutations
  • Follow ESLint rules
  • Make sure app is not breaking before raising your PR
  • Add screenshots of working demo using GraphQL when submitting your PR

Add a ⭐️ if you like working on it!

Update the NPM packages

Hello folks, I want you to update the dependencies of this project.

Notes:

  • Do not raise PR if things are breaking

Create new record using GraphhQL + Node.js [Mutation]

The REST API part is complete and working fine, however, the CRUD is not implemented in GraphQL

What is required?

  • Create a new record using GrapQL mutations
  • Follow ESLint rules
  • Make sure app is not breaking before raising your PR
  • Add screenshots of working demo using GraphQL when submitting your PR

Add a ⭐️ if you like working on it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.