ghost.url.api as an independent NPM module
See original GitHub issueIssue Summary
Access the ghost.url.api
utility as an independent npm module to consume data ghost as a headless blog / CMS within another website.
is this possible?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Content API JavaScript Client - Ghost.org
Ghost provides a flexible promise-based JavaScript library for accessing the Content API. The library can be used in any JavaScript project, client or ......
Read more >ghost - npm
Start using ghost in your project by running `npm i ghost`. There are 6 other projects in the npm registry using ghost.
Read more >ghost - npm Package Health Analysis - Snyk
The npm package ghost receives a total of 5,353 downloads a week. As such, we scored ghost popularity level to be Recognized. Based...
Read more >Why the Hell Would I Use Node.js? A Case-by-case Tutorial
The idea behind npm modules is similar to that of Ruby Gems: It is a set of ... With Node.js, you can expose...
Read more >Building a REST API with Node.js, MySQL, and Express
Then, we check for URLs missing from our endpoints and throw a 404 error to the user if they're accessed. The global error...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue with trailing slashes & CORS is tracked over in https://github.com/TryGhost/Ghost/issues/7839 😃
What I’m trying to say is that figuring out the correct api base url is one of the hardest parts of using our API, and therefore, that’s exactly why we added this utility 😉 Sure, it has other useful features, like getting the trailing slashes right, and neatly adding query params, however IMO auto-including the base url is the nicest feature 😁 .
@andrewmclagan A little late, but this might be of use to hook Ghost up to a redux build: https://github.com/oliverbenns/redux-ghost