Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/wp-graphql/wordflix-single-page-app
This is a Single Page App that was created for use in a workshop showing how to build Single Page Apps using WordPress, React and GraphQL.
https://github.com/wp-graphql/wordflix-single-page-app
Here we run “npm-run-build” to compile our static assets for use by the WordPress theme, and we ...
5df54e2b57c772a95b767212b22db7a88e828ea8 authored over 7 years ago by jasonbahl <[email protected]>In this step, we create a new LoadingScreen component that simply renders a loading spinner.
Th...
3812067e76b68950222381ede8a5f5adfe8484b2 authored over 7 years ago by jasonbahl <[email protected]>Here we’re running “npm run build” to compile our static assets for use in the WordPress theme, ...
a426881b5bb618c4d8469607c1b257a0ddd4cbcd authored over 7 years ago by jasonbahl <[email protected]>In this step, we add pagination to our MoviesPage.
First, we create a LoadMore styled component...
3dd6c6088c9465041b5f0ada434f0b3ddddd3573 authored over 7 years ago by jasonbahl <[email protected]>In this step we run “npm-run-build” to build the files for use by the WordPress theme, and updat...
ab856dd2af6d7690234f660f0981e3bb8917084b authored over 7 years ago by jasonbahl <[email protected]>Previously we left a placeholder in the MoviePage component for the release date. In this step, ...
cfe372e94afe32d7cb798a097fdff53f137f3816 authored over 7 years ago by jasonbahl <[email protected]>Run “npm run build” to build the assets and update the style.css
e6941ae5dba73ffe387398956662ecb022c3ca78 authored over 7 years ago by jasonbahl <[email protected]>In this step we change our GraphQL queries to use some aliases, and update our components to out...
5a6bf2cb07eb4177db47d4b89a8d02415330c9bf authored over 7 years ago by jasonbahl <[email protected]>In this step we run “npm run build” to build the assets for the WordPress theme to use, and we u...
6372420e7c64efaae63e7887a4ceac6946576bbd authored over 7 years ago by jasonbahl <[email protected]>In the MoviesPage component, we set the link to the movie to use the movie.id in the URL.
Then,...
0cae6cdb983d7918490bc9eb17d807db00891a2a authored over 7 years ago by jasonbahl <[email protected]>In this step, we use the data provided by Apollo (the results of the query) to populate our grid...
14ae3f49d623b12d24b6b4cb3045814027317e37 authored over 7 years ago by jasonbahl <[email protected]>In this step, we write our first GraphQL query for the MoviesPage.
For this page, we mocked up ...
2356f9ed4cb8114b102b3e24bf2c87cae748e8e7 authored over 7 years ago by jasonbahl <[email protected]>In this step we wrap our app with the ApolloProvider, which effectively connects the application...
09ed9f765333c2833ce6e64f3795bb4d45a5243e authored over 7 years ago by jasonbahl <[email protected]>In this step we configure our Redux store.
First, we import all the stuff we need.
Then, we co...
8f529d174a0432584b55e6d8c5b3acbfeafd84a9 authored over 7 years ago by jasonbahl <[email protected]>
# Conflicts:
# style.css
In this step we update the screenshot and stylesheet of the theme to reflect the current state o...
fc40c2c5abda26af7d119a1b6eae66e565e917f7 authored over 7 years ago by jasonbahl <[email protected]>In this step we update the screenshot and stylesheet of the theme to reflect the current state o...
386882e4493711afe21fb35ece922f3405e22b4b authored over 7 years ago by jasonbahl <[email protected]>In this step we run “npm run build” to build the assets for the WordPress theme to use.
f429a6b01c6626a442c406ea30bed803df58e6ef authored over 7 years ago by jasonbahl <[email protected]>In this step, we pulled out some repetitive code from our MoviesPage and MoviePage components an...
00221ddffe460644cdafa9e8e3305500a076986c authored over 7 years ago by jasonbahl <[email protected]>In this step we create several styled components to build the layout of our page.
First, we imp...
210780727d28499946d38855c728ee5a1a0714bf authored over 7 years ago by jasonbahl <[email protected]>In this step, we’re building out the basic layout for the “movies” page, which shows a list of m...
3db8d445386ede7b13bf5cce7dc7a167c0a96709 authored over 7 years ago by jasonbahl <[email protected]>In this step we moved the MoviesPage and MoviePage components into their own files in the “/comp...
e489f33416b41fddba26b166d2cd72caf9eb3709 authored over 7 years ago by jasonbahl <[email protected]>Update the screenshot and style.css to reflect the current state of our progress.
0bbb89716f9a5a05181a15b947371496fba37a6a authored over 7 years ago by jasonbahl <[email protected]>Run “npm run build” to compile our static assets for use by the WordPress theme
d82d1e0d2ea3b685d2cfeecd535abefcbc158096 authored over 7 years ago by jasonbahl <[email protected]>In this step, we add router support using React Router.
In the imports, we import the methods w...
aa69d5653ff21502e90d87ba506931d2455b997b authored over 7 years ago by jasonbahl <[email protected]>This is just an update to the style.css and screenshot to represent the current state of the app...
e4c3d052ea2977d4baed6d0f88e43ab58cbd6c46 authored over 7 years ago by jasonbahl <[email protected]>In this step, we move the HomePage component and the styled components that go along with it to ...
2d0433f0475322edc80db5c8279bcc625ef0e843 authored over 7 years ago by jasonbahl <[email protected]>In this step, we created a few more styled components to use on our homepage.
You’ll also notic...
1c022bd29c564ecee43dcb33af14a550602b9c3a authored over 7 years ago by jasonbahl <[email protected]>In this step, we introduce our first “styled component”
We simply create a <Home> component, wh...
2b98f919183c5c5f14c5921d5d5bf61ab3c341d1 authored over 7 years ago by jasonbahl <[email protected]>In this step, we’re importing the stylesheet from Ant Design, which is a fantastic Component Lib...
9dda9a33745be7e55326a9c99f5c1e88d0546d27 authored over 7 years ago by jasonbahl <[email protected]>In this step, we’re just adding some fonts that we’ll be using later.
Right now, this has no af...
aba68957422cbcb5ae32dce8545c8b6f1eefcf3a authored over 7 years ago by jasonbahl <[email protected]>
In this step, we’re creating a separate Homepage component and passing it to our App component.
...
Here we’re just updating the style.css and screenshot to reflect where we’re at with our app.
6e831224060d7078e6cdf00e61b4849bf64b002d authored over 7 years ago by jasonbahl <[email protected]>In this step, we run “npm run build” which builds the static files, which our WordPress theme is...
2b548b29775deccff1336b1289dd5c0b04a2f35e authored over 7 years ago by jasonbahl <[email protected]>In this step, we’re removing the boilerplate that came with Create React App so we can start wor...
d889368ff98ac2ba524e57ce4a27e30156db3fb3 authored over 7 years ago by jasonbahl <[email protected]>This final step is just updating the theme screenshot and stylesheet to indicate the changes
243ae44d0d9baa3417d49bc0aaedfdff5cfbf624 authored over 7 years ago by jasonbahl <[email protected]>In this step, we add some functions to our inc/setup.php file to get our theme working with Crea...
229a56a861fe889a6d1ce388f94dbad0aa5df6b2 authored over 7 years ago by jasonbahl <[email protected]>In this step, from the /assets/app directory I ran the command “npm run build" which compiles th...
eef92aa25b791ed1bc93578c625d3e53a692fbb5 authored over 7 years ago by jasonbahl <[email protected]>I simply created a new “assets” directory in the theme and inside the directory I ran the comman...
fd1e4af6bae7c36a337e91e894ce83a08f186c83 authored over 7 years ago by jasonbahl <[email protected]>Update the .gitignore so that we don’t version all the node_modules that are needed in development
d55b0bd9939da14601622eee1b5ba1ea7f54ee05 authored over 7 years ago by jasonbahl <[email protected]>At this point, all we have is essentially the bare minimum needed to technically have a WordPres...
7e81b2be3ebca36463a6830a1230434726b12743 authored over 7 years ago by jasonbahl <[email protected]>