https://github.com/kmturley/appengine-express-cms
Example CMS using AppEngine, Node.JS and Express
https://github.com/kmturley/appengine-express-cms
appengine cms datastore express nodejs
Last synced: 2 months ago
JSON representation
Example CMS using AppEngine, Node.JS and Express
- Host: GitHub
- URL: https://github.com/kmturley/appengine-express-cms
- Owner: kmturley
- Created: 2017-03-20T16:56:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T22:31:58.000Z (over 9 years ago)
- Last Synced: 2025-01-13T11:13:07.245Z (over 1 year ago)
- Topics: appengine, cms, datastore, express, nodejs
- Language: JavaScript
- Homepage: http://studious-tape-161815.appspot.com/
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# appengine-express-cms
Example CMS using the following technologies:
* AppEngine
* Datastore
* NodeJS
* Express
## Installation
Ensure you have Node and NPM installed using the instructions at:
[https://nodejs.org/download/](https://nodejs.org/download/)
Install the project dependancies using:
npm install
Create a file at /config.json containing your settings:
{
"CLOUD_BUCKET": "your-bucket-name",
"GCLOUD_PROJECT": "your-gcloud-project-name",
"DATA_BACKEND": "datastore",
"MEMCACHE_URL": "[YOUR_MEMCACHE_URL]",
"OAUTH2_CLIENT_ID": "[YOUR_OAUTH2_CLIENT_ID]",
"OAUTH2_CLIENT_SECRET": "[YOUR_OAUTH2_CLIENT_SECRET]",
"OAUTH2_CALLBACK": "http://localhost:8080/auth/google/callback",
}
You can follow the guide at:
https://cloud.google.com/appengine/docs/flexible/nodejs/authenticating-users
## Usage
Run the local server using the command:
npm start
Then view the site at:
http://localhost:8080/
## Deployment
Use the build command to optimise
npm run build
## Directory structure
pages/ --> API
static/ --> Static assets
templates/ --> Dynamic templates
test/ --> Tests
## Contact
For more information please contact kmturley