{"id":18596679,"url":"https://github.com/gorgos/soliditydeveloper","last_synced_at":"2025-04-10T17:30:29.079Z","repository":{"id":42094227,"uuid":"252934903","full_name":"gorgos/soliditydeveloper","owner":"gorgos","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-28T12:10:35.000Z","size":12665,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T14:37:45.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gorgos.png","metadata":{"files":{"readme":"readme.mdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-04T07:18:37.000Z","updated_at":"2024-05-01T14:37:45.343Z","dependencies_parsed_at":"2023-02-08T05:00:27.177Z","dependency_job_id":null,"html_url":"https://github.com/gorgos/soliditydeveloper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorgos%2Fsoliditydeveloper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorgos%2Fsoliditydeveloper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorgos%2Fsoliditydeveloper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorgos%2Fsoliditydeveloper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gorgos","download_url":"https://codeload.github.com/gorgos/soliditydeveloper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223441417,"owners_count":17145570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T01:25:19.199Z","updated_at":"2024-11-07T01:25:19.832Z","avatar_url":"https://github.com/gorgos.png","language":"JavaScript","readme":"# Scrivito Example App JS\n\n[![CMS: Scrivito](https://img.shields.io/badge/CMS-Scrivito-brightgreen.svg)](https://scrivito.com) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Travis build status](https://img.shields.io/travis/Scrivito/scrivito_example_app_js/master.svg)](https://travis-ci.org/Scrivito/scrivito_example_app_js) [![GitHub last commit](https://img.shields.io/github/last-commit/Scrivito/scrivito_example_app_js.svg)](https://github.com/Scrivito/scrivito_example_app_js) [![GitHub top language](https://img.shields.io/github/languages/top/Scrivito/scrivito_example_app_js.svg)](https://github.com/Scrivito/scrivito_example_app_js)\n\n[Scrivito](https://www.scrivito.com/?utm_source=github\u0026utm_medium=natural\u0026utm_campaign=github_example_app) is the world's most secure, serverless JavaScript CMS. Based on ReactJS, it is completely maintenance-free, cost-effective, and has unprecedented security. Learn more about Scrivito at [scrivito.com](https://www.scrivito.com/?utm_source=github\u0026utm_medium=natural\u0026utm_campaign=github_example_app).\n\nThis example app shows Scrivito’s features and is a great basis for your own Scrivito website projects.\n\n## Features\n\nScrivito is a SaaS Content Management Service, built for digital agencies and medium to large sized businesses.\n\nIt is the only CMS that combines unmatched WYSIWYG usability for editors with maximum flexibility for developers – because it is at the forefront of the current [JavaScript web development revolution](https://www.webdevelopmentrevolution.com/).\n\nAnd because Scrivito is 100% serverless, you'll never have to patch your CMS, so it's the most secure and cost-effective solution on the market.\n\n## Getting Started\n\nSign up for a free trial at [my.scrivito.com/signup](https://my.scrivito.com/signup?utm_source=github\u0026utm_medium=web\u0026utm_campaign=github_example_app).\n\nOnce you have a Scrivito tenant, it's time to do some development.\n\n### Clone repository\n\n```\ngit clone https://github.com/Scrivito/scrivito_example_app_js.git\n\ncd scrivito_example_app_js/\n```\n\n### Install/check prerequisites\n\nMake sure that you have [![node ≥ 18.0](https://img.shields.io/badge/node-≥%2018.0-blue.svg)](https://nodejs.org) installed.\n\n```\nnode -v\n# should output something like v18.17.0\n```\n\n### Install dependencies\n\nNow simply call `npm install` in the command line to install all JS dependencies (which are placed in the folder `node_modules/`).\n\n### Specify the Scrivito CMS to use\n\nThe Scrivito example app JS requires the tenant ID of your CMS. The ID is taken from the environment variable `SCRIVITO_TENANT`. The environment variable can also be set via [`.env`](https://github.com/motdotla/dotenv).\n\nTo specify it, proceed as follows:\n\n- Go to your [Scrivito Websites](https://my.scrivito.com/tenants/).\n- Click the CMS to use.\n- Open the “Settings” tab.\n- Scroll down to the “Anonymous access for the Scrivito Javascript SDK” section.\n- Copy the value after SCRIVITO_TENANT= to the clipboard.\n- In the project directory, open/create the file `.env` and paste the ID after the `SCRIVITO_TENANT` key. The file should then look like this:\n\n```\nSCRIVITO_TENANT=0123456789ABCDEF0123456789ABCDEF\n```\n\nSee `.env.example` for an example.\n\n### Set other authorized URLs\n\nTo enable resource sharing between your CMS and your web application, specify the URL of your app in the CMS settings.\n\n- Like above, navigate to the “Deployment” tab of the CMS to use with your app.\n- Make sure that `http://localhost:8080` is added to the \"Other authorized URLs\".\n\nSee [Getting Started with ScrivitoJS](https://scrivito.com/getting-started-with-scrivitojs-f729f073bf4672d8) for more information.\n\n## How to develop\n\nCalling `npm start` will start a webserver, which listens to [localhost:8080](http://localhost:8080/) and opens this URL in your browser. It should also automatically reload the page after changes to the code (in `src/`) have been made.\n\n## Your first change\n\nTo see development in action, let's change the `ButtonWidget` so that it prefixes all buttons with your favorite emoji.\n\nOpen up the react component responsible for rendering a `ButtonWidget`. It's located at `src/Widgets/ButtonWidget/ButtonWidgetComponent.js`. Now look for the `Scrivito.LinkTag` and insert\n\n```jsx\n{\"🚀 \"}\n```\n\nbefore\n\n```jsx\n{text}\u003ci className=\"fa fa-angle-right fa-4\" aria-hidden=\"true\" /\u003e\n```\n\nAfter saving the file, your browser should automatically reload [http://localhost:8080](http://localhost:8080) with your new emoji button. Of course you can choose another emoji, check out [emojipedia.org](https://emojipedia.org).\n\n## How to generate page and widget classes\n\nFor having the scaffolds of new CMS object and widget classes conveniently created, a [Yeoman](https://yeoman.io/)-based generator is included. It adds the folder and files needed as a minimum for a class to the project, and provides the basic code and configuration for it to work. For details on how to use the generator and what it effects, see [Using the Example App's Page and Widget Class Generator](https://www.scrivito.com/class-generator). For a quick start, run it like so:\n\n```\nnpx yo scrivito\n```\n\n## How to build/compile\n\nCalling `npm run build` will compile all JS, HTML and CSS and place it in the `build/` folder. It also creates a `build.zip` file, which can be deployed via [my.scrivito.com](https://my.scrivito.com).\n\n## Documentation\n\nComprehensive documentation is available at [scrivito.com/documentation](https://www.scrivito.com/documentation?utm_source=github\u0026utm_medium=natural\u0026utm_campaign=github_example_app). Feel free to [reach out to us](https://www.scrivito.com/support?utm_source=github\u0026utm_medium=natural\u0026utm_campaign=github_example_app) if you have any questions.\n\nHave fun!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorgos%2Fsoliditydeveloper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorgos%2Fsoliditydeveloper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorgos%2Fsoliditydeveloper/lists"}