my-site-cms
This application is what powers sandeepincode.com, it uses server side rendering and the contentful api.
How to run:
- Fill in the credentials in server.js, it asks for SPACE_ID and the ACCESS_TOKEN which are found once you create a space in contentful.
- Content models:
-
name: about,
content type ID: home
fields[ Text(long text): description ] -
name: Blog
content type ID: blog
fields[ Text(short text): Title, Date&Time: Date, Integer: Ranking, Text(Long Text): Content, Text(Short Text): description ] -
name: Github
content type ID: github
fields[ Text(short text): name, Text(long text): description, Text(short text): url, Date&Time: date ] -
name: Projects
content type ID: projects
fields[ Text(short text): name, Text(short text): url, Text(long text): description, Date&Time: started]
- Make some content in the content tab in contentful.
- npm i
- npm run dev
Preview
Regards, Sandeepincode.