Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fllorent0d/tabt-graphql
GraphQL version of Tabt
https://github.com/fllorent0d/tabt-graphql
graphql-server tabt type-graphql typescript
Last synced: about 1 month ago
JSON representation
GraphQL version of Tabt
- Host: GitHub
- URL: https://github.com/fllorent0d/tabt-graphql
- Owner: Fllorent0D
- License: gpl-3.0
- Created: 2019-12-30T09:00:10.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-11T22:24:41.000Z (about 2 years ago)
- Last Synced: 2023-03-03T12:11:41.796Z (almost 2 years ago)
- Topics: graphql-server, tabt, type-graphql, typescript
- Language: TypeScript
- Size: 2.23 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TabT-GraphQL server
[![Build status][build-badge]][build-url]
[![License][license-badge]][license-url]> GraphQL replacement of the TabT SOAP API.
This is a GraphQL server that allows you to fetch data from a TabT instance.
![](voyager.png)
## Prerequisites
- A running TabT instance (http://tabt.frenoy.net/)
- Node 10 or higher (https://nodejs.org/)## Installation
```sh
git clone https://github.com/Fllorent0D/Tabt-GraphQL
NODE_ENV='production' npm install
npm run build
nodejs ./dist/index.js
```A environment file (```.env```) must be created:
```dotenv
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=myRootpwd32
DB_NAME=Tabt
JWT_SECRET_SALT=secret
JWT_EXPIRE_TIME=6h
```### Start with pm2
```sh
pm2 start ./dist/index.js
```## Development setup
```sh
git clone https://github.com/Fllorent0D/Tabt-GraphQL
npm install
npm run start
```## Release History
* 0.0.1
* Work in progress## Meta
Cardoen Florent – [@Fllorent0D](https://twitter.com/fllorent0D) – [email protected]
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request[build-badge]: https://github.com/Fllorent0D/Tabt-GraphQL/workflows/Build/badge.svg
[build-url]: https://github.com/Fllorent0D/Tabt-GraphQL/actions?query=workflow%3A%22Build+and+deploy+staging%22
[license-badge]: https://img.shields.io/badge/License-GPL--3-blue.svg?style=flat
[license-url]: LICENSE