Skip to content

Experimental project to explore GraphQL and Scala.js

Notifications You must be signed in to change notification settings

gerdreiss/typicode-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expose Typicode JSONPlaceholder API via GraphQL

Scala CI

This is an experimental project to explore GraphQL and Scala.js using

Run project

Backend

Open command line and enter

sbt backend/run

Frontend

Open second command line and enter

sbt frontend/fastOptJS

Install http-server if necessary:

  • using homebrew:
    brew install http-server
  • using node's npm command:
    npm install -g http-server
    Start http-server
http-server -c-1

Or directly run without installing, using node's npx command:

npx http-server -c-1

Or use Python's SimpleHTTPServer module:

python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.server

Open http://localhost:8080/modules/frontend/index-dev.html in the browser

About

Experimental project to explore GraphQL and Scala.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published