You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
The WordPress backend is running [WPGraphQL](https://github.com/wp-graphql/wp-graphql). So familiarity with writing [GraphQL](https://graphql.org/) queries is helpful.
39
+
The backend (WordPress) is running [WPGraphQL](https://github.com/wp-graphql/wp-graphql). So familiarity with writing [GraphQL](https://graphql.org/) queries is helpful, but not required.
40
40
41
41
---
42
42
@@ -75,21 +75,21 @@ The frontend will be available at http://localhost:3000
75
75
76
76
---
77
77
78
-
## 🔧 Backend Info (WordPress)
78
+
## 🔧 WordPress Info (The Backend)
79
79
80
-
The backend is a vanilla WordPress install hosted at [WP Engine](https://nextjs.wpengine.com), with the following plugins installed:
80
+
The backend is a vanilla WordPress install, hosted at [WP Engine](https://nextjs.wpengine.com) with the following plugins:
81
81
82
-
**Advanced Custom Fields Pro** - At WebDevStudios we leverage ACF to handle custom post meta and [ACF Blocks](https://www.advancedcustomfields.com/resources/blocks/).
82
+
**Advanced Custom Fields Pro** - ACF handles custom post meta and [ACF Blocks](https://www.advancedcustomfields.com/resources/blocks/).
83
83
84
84
**reSmush.it Image Optimizer** - Keeps image sizes small by optimizing them on upload.
85
85
86
-
**WDS SSO** - Used as our internal single-sign on service.
86
+
**WDS SSO** - Our internal single-sign on service.
87
87
88
-
**WP GraphQL** - GraphQL is installed on the WordPress backend and the endpoint is: `https://nextjs.wpengine.com/graphql`
88
+
**WP GraphQL** - GraphQL is installed and the endpoint is: `https://nextjs.wpengine.com/graphql`
89
89
90
-
**WP GraphiQL** - You can use WP GraphiQL to build queries in the [WordPress Dashboard](https://nextjs.wpengine.com/wp-admin/admin.php?page=wp-graphiql%2Fwp-graphiql.php). Those queries can be copied and pasted right into the frontend. You can view the current list of GraphQL queries in[/lib/api.js](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/lib/api.js)
90
+
**WP GraphiQL** - Use WP GraphiQL to build queries in the [WordPress Dashboard](https://nextjs.wpengine.com/wp-admin/admin.php?page=wp-graphiql%2Fwp-graphiql.php). Those queries can be copied and pasted right into [/lib/api.js](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/lib/api.js)
91
91
92
-
**WP GraphQL JWT** - JWT Authentication allows the frontend to talk to the backend via environment variable `.env.local`
92
+
**WP GraphQL JWT** - Allows the frontend to talk to the backend via environment variable `.env.local`
93
93
94
94
**WP Migrate DB Pro** - Used for moving database and files between environments.
95
95
@@ -105,6 +105,15 @@ Contributing to this project is a lot like any other WDS project...
105
105
106
106
There is an [Local export available](https://drive.google.com/file/d/1p0qvsf2OWSr0Wesl2rrxhwJxHW3JUAMg/view?usp=sharing). Simply import the `.zip` file and you can tinker with the WordPress backend.
107
107
108
+
### Deployments
109
+
110
+
[Vercel](https://vercel.com/webdevstudios/nextjs-wordpress-example) is connected to this repo and handles builds deployments:
111
+
112
+
### Branches
113
+
114
+
-`main` - auto deploys
115
+
-`Pull Requests` - deployment previews are automatically generated
116
+
108
117
### Git Workflow
109
118
110
119
1. Create a `feature` branch off `main`
@@ -114,13 +123,6 @@ There is an [Local export available](https://drive.google.com/file/d/1p0qvsf2OWS
114
123
4. After peer review, PR will be merged back into `main`
115
124
5. Repeat ♻️
116
125
117
-
### Deployments
118
-
119
-
[Vercel](https://vercel.com/webdevstudios/nextjs-wordpress-example) is connected to this repo and handles builds deployments
120
-
121
-
-`main` - auto deploys
122
-
- Deployment previews are available for Pull Requests
0 commit comments