All Projects → contentacms → Contenta_jsonapi

contentacms / Contenta_jsonapi

Licence: gpl-2.0
Contenta CMS, the decoupled Drupal

Labels

Projects that are alternatives of or similar to Contenta jsonapi

WunderTools
Project reference configuration for use with Ansible & Vagrant
Stars: ✭ 18 (-94.14%)
Mutual labels:  drupal
docker-drupal
Docker scaffolding for Drupal 8
Stars: ✭ 41 (-86.64%)
Mutual labels:  drupal
datos.gob.es
Código perteneciente al portal español de Datos Abiertos datos.gob.es.
Stars: ✭ 20 (-93.49%)
Mutual labels:  drupal
nuxtjs-drupal-ce
A Nuxt.js module to easily connect Drupal via custom elements.
Stars: ✭ 14 (-95.44%)
Mutual labels:  drupal
drupal-8-tools
Spin up a D8 site in seconds. Audit your D7 module and get a scaffolding for a port to D8. And more.
Stars: ✭ 14 (-95.44%)
Mutual labels:  drupal
openrestaurant
Everything you need for your restaurant website.
Stars: ✭ 25 (-91.86%)
Mutual labels:  drupal
cli
Acquia CLI
Stars: ✭ 30 (-90.23%)
Mutual labels:  drupal
Xbruteforcer
X Brute Forcer Tool 🔓 WordPress , Joomla , DruPal , OpenCart , Magento
Stars: ✭ 261 (-14.98%)
Mutual labels:  drupal
varbase
Built using Drupal 8/9, an enterprise website builder platform that combines powerful editorial features, mobile, lead-generation, SEO, social media integration, and beautiful bespoke designs. Varbase is packed with adaptive functionalities and essential modules.
Stars: ✭ 75 (-75.57%)
Mutual labels:  drupal
terminus-pancakes-plugin
Terminus Plugin to open Pantheon Site Databases in your Favorite SQL Client
Stars: ✭ 22 (-92.83%)
Mutual labels:  drupal
DrupalPod
Start Drupal contributions with 1 click.
Stars: ✭ 96 (-68.73%)
Mutual labels:  drupal
TqExtension
Test your Drupal 7 (D8 in progress) sites easier with TqExtension for Behat.
Stars: ✭ 13 (-95.77%)
Mutual labels:  drupal
UltimateCMSWordlists
📚 An ultimate collection wordlists of the best-known CMS
Stars: ✭ 54 (-82.41%)
Mutual labels:  drupal
dockerized-drupal-starter
End-to-end (CI + CD) dockerized Drupal 8 starting point.
Stars: ✭ 27 (-91.21%)
Mutual labels:  drupal
Lando
A development tool for all your projects that is fast, easy, powerful and liberating
Stars: ✭ 3,142 (+923.45%)
Mutual labels:  drupal
drevops
💧 + 🐳 + ✓✓✓ + 🤖 + ❤️ Build, Test, Deploy scripts for Drupal using Docker and CI/CD
Stars: ✭ 55 (-82.08%)
Mutual labels:  drupal
drupal9ci
One-line installers for implementing Continuous Integration in Drupal 9
Stars: ✭ 137 (-55.37%)
Mutual labels:  drupal
Dkan
DKAN Open Data Portal
Stars: ✭ 291 (-5.21%)
Mutual labels:  drupal
Reservoir
A back end for your front end: a content repository. Powered by Drupal 8, JSON API and OAuth2.
Stars: ✭ 262 (-14.66%)
Mutual labels:  drupal
campaign
Comic Relief Campaign Distribution in Drupal 8
Stars: ✭ 22 (-92.83%)
Mutual labels:  drupal

Contenta CMS Contenta logo

Contenta is a content API and CMS based on Drupal 8. It provides a standard, jsonapi-based platform for building decoupled applications and websites.

Install

Follow the documentation instructions to install Contenta CMS.

CURL

Once your site is running locally, you might want to use Curl to examine the pre-installed content:

curl --header 'Accept: application/vnd.api+json' http://127.0.0.1:8888/api/recipes

The result will be a list of recipes. Note that:

  • The Drupal implementation of the jsonapi uses entity uuids to identify individual content resources. Append a /{{uuid}} to the URL above to fetch a single recipe.
  • Contenta uses the JSON API Extras module to customize the URL to resources: /api/recipes instead of /jsonapi/node/recipes, for example. Contenta also configures JSON API Extras to customize the output of the request to eliminate unnecessary fields.

CORS

When you actually build a front-end you will likely have CORS (Cross-Origin Resource Sharing) issues.

In order to allow browsers to request the contenta back-end you need to:

  • Copy sites/default/default.services.yml to sites/default/services.yml
  • Allow your app to access it, by replacing the end of this configuration file.
  cors.config:
    enabled: true
    allowedHeaders:
      - '*'
    allowedMethods:
      - '*'
    allowedOrigins:
       # Note: you need to specify the host + port where your app will run.
      - localhost:8000
    exposedHeaders: false
    maxAge: false
    supportsCredentials: false
  • Run drush: cd <DESTINATION>/web && ../vendor/bin/drush cr

Development

Join the discussion in the #contenta Slack channel.

For documention on the development on contenta_jsonapi itself, see docs/development.

Code of conduct

Development Installation

  • If you want a setup which allows you to contribute back to Contenta, follow the installation instructions above
  • Replace the /web/profiles/contrib/contenta_jsonapi directory with a checkout of this repo
cd -DESTINATION-
rm -rf web/profiles/contrib/contenta_jsonapi
git clone [email protected]:contentacms/contenta_jsonapi.git web/profiles/contrib/contenta_jsonapi

Testing

Nightwatch

Nightwatch provides automated browser testing and can be found in the tests/nightwatch directory. To install and run locally, you will need Yarn and Chrome.

yarn install
yarn run nightwatch

Front-ends

There are a bunch of example consumers, see http://www.contentacms.org/#example-consumers for a list of them.

Update

Contenta CMS is a Fork & Go solution. There is no supported upgrade path. You may update your Drupal like you usually do.

Please see documented issues :

Credits

This work is based upon a couple of contrib modules.

On top of that the thunder distrbution was used as sort of a base for this installation profile.

Contenta CMS is built by humans.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].