Skip to content

WiseEngineering/crispy-api

Repository files navigation

crispy-api

Typescript GraphQL API for crispy-web

API based on Apollo express server.

How to use

1. Download project & install dependencies

Clone the crispy-api branch of this repository:

git clone git@github.com:WiseEngineering/crispy-api.git

Go to project folder:

cd crispy-api

Configuration

To specify your own configuration you could use crispy.js config file.

Field Type Description
mysql MysqlAPI Mysql API configuration
server ServerAPI Server API configuration

Mysql API configuration

Field Type
host string
port number
user string
password string
database string

Server API configuration

Field Type
port number

2. Start up Docker servers

Command to start up server

docker-compose up -d

Run migration:

docker exec -it crispy-api yarn migrate

if you use docker-compose you can get container name use

docker ps

3. UI client URL

http://localhost:4444/graphql/playground

About

Typescript GraphQL API for `crispy-web`

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages