An apollo-graphql server, it wraps the Star Wars API.
Live Demo Netlify.
Server Hosted on Heroku.
The UI repo on Github
- TypeScript,
- NodeJs,
- Express, Apollo-graphql
- Jest - unit testing and integration testing.
- Install v12.16.2
Node JS
. - To clone, run
https://github.com/mikenath223/gql-starwars-wrapper
. cd
into the root of the project directory.- Install
yarn
. cd
intoclient
folder- Run
yarn
on the terminal to install dependencies. cd
intoserver
folder- Run
yarn
on the terminal to install dependencies. - In both
client
andserver
folder Create a.env
file in the root directory of the application. Copy the content of the.env.example
in the root of each folder and paste into.env
file. - First start the server application by cd into
server
folder and simply runyarn dev
. - Lastly start the client application by cd into
client
folder and simply runyarn start
.
Unit testing - Run yarn test
on the terminal while within each folder.