0.1.71 • Published 5 years ago

react-cms-editor v0.1.71

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

TinyCMS

Docs

Explore the basic concepts

Builds

Master branch: Build status

Under development

To set the JWT secret do the following steps.

Navigate to the TinyCMS folder

cd ./src/TinyCMS

Run the dotnet user-secrets command to store the JWT secret in the secret store:

dotnet user-secrets set "JWTSecret" "random string as a secret"

Install dependencies for React client

cd ReactClient
npm install
cd ..

Run the project (this sample will be using a React Web Client)

dotnet run

Example json structure for Nodes.json

{
    "isDirty": false,
    "rootNode": {
        "type": "site",
        "id": "root",
        "isParsed": false,
        "children": [
            {
                "type": "page",
                "name": "Shop",
                "url": "/shop",
                "templateId": "page",
                "id": "a480136e-0327-441b-8155-eda1cf166c34",
                "isParsed": true,
                "children": [
                    {
                        "type": "text",
                        "value": "dfgdfgdfg",
                        "id": "74f60485-285d-4923-8168-13f24be535f3",
                        "isParsed": true,
                        "children": []
                    },
                    {
                        "id": "dbbf7075-0239-419f-9701-727aae45223b",
                        "pageid": 1669,
                        "parentId": "a480136e-0327-441b-8155-eda1cf166c34",
                        "isParsed": true,
                        "type": "nodeproduct",
                        "children": []
                    }
                ]
            }
        ]
    },
    "relations": []
}