qaree-infra / qaree-backend

1 stars 0 forks source link

Qaree

Qaree is a mobile app for e-book reading, with the ability to communicate with readers and authors in one-to-one chats or book communities (such as simple chat groups).

Table of content

About

Built With

Project Structure

The backend has been separated into three services such as reader, author, and admin.

Every service has this structure.

├── src
|   ├── graphql
|   ├── middeleware
|   ├── models
|   ├── readChapter
|   ├── upload
|   ├── utils
|   ├── index.js
|   └── server.js
├── .env.example
├── .gitignore
├── index.js
├── LICENSE
├── package.json
├── README.md
└── tsconfig.js

Highlight Folders:

Highlight Files:

Prerequisites

Getting Started

  1. Clone the repository
git clone https://github.com/qaree-infra/qaree-backend.git
cd qaree-backend
  1. Choose the service

    cd <service> # admin, author, or reader
  2. Install dependencies

npm install
  1. Run the project
npm run start

API Reference

Qaree API is organized around GraphQL for data fetching. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and verbs. It also uses JWT for authentication.

Base URL

https://publishingcompany-backend.onrender.com/graphql

Endpoints

For reader

Head over Here for Postman API documentation.

For admin

Head over Here for Postman API documentation.

For author

Head over Here for Postman API documentation.

Issues

If you have an issue, please open it in the issues tab and I will respond.

License

This software is licensed under MIT License, See License for more information.