knaxus / rest-and-graphql

:zap: Highly scalable REST API codebase with GraphQL layer on its :zap:

Home Page:https://ashokdey.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:zap: Highly scalable REST API codebase with GraphQL layer on its :zap:

https://ashokdey.in

License:GNU General Public License v3.0


Languages

Language:JavaScript 82.0%Language:TSQL 18.0%