Comments (3)
Can you please elaborate what i have to do?
from gatsby-starter-calpa-blog.
@DeViL3998 Thank you for your interest.
For now, the blog system is using GatsbyJS, and querying the data from Contentful Management System.
This is a front end system and should be separated from the backend api.
Here is the code of querying:
https://github.com/calpa/blog/blob/master/gatsby/getPosts.js#L8
You may use current blog data to have a look at the provided data.
The above one was generated by Contentful, though only some data field written in README.md are required.
TODO:
- Change the settings in
.env
from API_SPACE_ID, API_TOKEN to others - Change
blog/getPosts.js
settings - Provide a mock data that can query the correct types of data
I think that the mock data is stored in a new folder such as mock
would be a good idea.
For security issue, the API_TOKEN and API_SPACE_ID will be regenerated after this issue is solved.
from gatsby-starter-calpa-blog.
i'm looking into it.
from gatsby-starter-calpa-blog.
Related Issues (20)
- An in-range update of gatsby is breaking the build 🚨 HOT 11
- 文档目录树结构 HOT 1
- Instant Search (Algolia HOT 2
- Transition
- 博客系统问题集中讨论帖 HOT 12
- UI调整建议即部署建议 HOT 5
- 请教一下楼主,graphql在GatsbyJS中的作用是什么? HOT 5
- RFC: Use Netlify CMS instead of Contentful
- An in-range update of webpack is breaking the build 🚨 HOT 3
- Update README.md
- An in-range update of highlight.js is breaking the build 🚨 HOT 4
- UI调整 HOT 1
- An in-range update of gatsby is breaking the build 🚨 HOT 170
- Fix Pagination
- [BUG] Blog Sidebar TOC scroll not work HOT 1
- [Feature] Facebook Link
- [优化]脚手架改进建议 HOT 3
- 如何在使用 Netify 管理前端下,使用Contentful 作內容管理? HOT 2
- Deprecated Project? HOT 1
- Feature: Revamp Calpa's Blog HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-starter-calpa-blog.