All Projects → contentjet → contentjet-api

contentjet / contentjet-api

Licence: MIT license
Headless API-first content management system

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to contentjet-api

TriTan-CMS
TriTan CMS is a developer centric content management framework that allows you to go completely headless or nearly headless. With the mighty TriTan, you can build amazing RESTful applications and robust websites.
Stars: ✭ 19 (-80%)
Mutual labels:  headless, headless-cms, api-first-cms
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+13784.21%)
Mutual labels:  headless, headless-cms
Awesome Headless Cms
An awesome list of headless / decoupled CMS resources.
Stars: ✭ 118 (+24.21%)
Mutual labels:  headless, headless-cms
Storyblok
You found an issue with one of our products? - submit it here as an issue!
Stars: ✭ 206 (+116.84%)
Mutual labels:  headless, headless-cms
Builder
Drag and drop page building using your code components
Stars: ✭ 1,281 (+1248.42%)
Mutual labels:  headless, headless-cms
Docker
Directus Docker — The Official Docker Container for the Directus Suite
Stars: ✭ 93 (-2.11%)
Mutual labels:  headless, headless-cms
Headless Framework
[Preview/Alpha] WordPress Headless Framework
Stars: ✭ 182 (+91.58%)
Mutual labels:  headless, headless-cms
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (+388.42%)
Mutual labels:  headless, headless-cms
Sourcebit
Sourcebit helps developers build data-driven JAMstack sites by pulling data from any third-party resource
Stars: ✭ 252 (+165.26%)
Mutual labels:  headless, headless-cms
FlexDotnetCMS
A powerful, flexible, decoupled and easy to use and Fully Featured ASP .NET CMS, it can also be used as a Headless CMS
Stars: ✭ 45 (-52.63%)
Mutual labels:  headless, headless-cms
statiq-starter-kontent-lumen
Lumen is a minimal, lightweight, and mobile-first starter for creating blogs using Statiq and Kontent by Kentico.
Stars: ✭ 22 (-76.84%)
Mutual labels:  headless, headless-cms
Formium
The headless form builder for the modern web.
Stars: ✭ 78 (-17.89%)
Mutual labels:  headless, headless-cms
Contentjet Ui
Headless API-first content management system
Stars: ✭ 42 (-55.79%)
Mutual labels:  headless, headless-cms
Sdk Js
Directus JS SDK — JavaScript Software Development Kit for Node and Browser
Stars: ✭ 117 (+23.16%)
Mutual labels:  headless, headless-cms
Cockpit
Add content management functionality to any site - plug & play / headless / api-first CMS
Stars: ✭ 5,173 (+5345.26%)
Mutual labels:  headless, headless-cms
Pop
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder
Stars: ✭ 160 (+68.42%)
Mutual labels:  headless, headless-cms
vaahcms
VaahCMS is a laravel based open-source web application development platform shipped with a headless content management system (CMS).
Stars: ✭ 56 (-41.05%)
Mutual labels:  headless, headless-cms
Mix.core
🚀 Mixcore CMS is an open source CMS that support both headless and decoupled to easily build any kinds of app/web app/customisable APIs built on top of ASP.NET Core / Dotnet Core. It is a completely open source ASP.NET Core (Dotnet Core) CMS solution. https://mixcore.org
Stars: ✭ 304 (+220%)
Mutual labels:  headless, headless-cms
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (+358.95%)
Mutual labels:  headless, headless-cms
Unite Cms
Really flexible headless CMS, built on top of Symfony and GraphQL.
Stars: ✭ 242 (+154.74%)
Mutual labels:  headless, headless-cms

contentjet-api

license

A Node based back end for contentjet, a powerful headless API-first CMS. Built with Koa, Objection and PostgreSQL.

Contentjet is composed of 2 discrete applications, the backend API contentjet-api (this repository) and the frontend HTML user interface contentjet-ui.

For more information and hosting documentation please visit contentjet.github.io.

Contentjet

Development

Requirements

  • Node 8+
  • NPM 5+
  • PostgreSQL 9.5+

1. Installation

npm install

2. Configuration

The app is configurable through the use of environment variables. Environment variables can either be exported directly or you may optionally create a .env file in the root of the repository and specify them there. Note any exported variables will take precedence over those defined in .env. See dotenv for more details.

For a complete list of all options refer to src/config/index.ts. While most options have default fallbacks you will need to provide values for the following:

Secret key

Secret key is used in the hashing of passwords and tokens. You must supply a random string to this value and be sure to keep it secret!

SECRET_KEY=yoursupersecretkey

Database

Database connection settings. Note only PostgreSQL 9.5+ is supported.

POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=contentjet-api
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password

URLs

The application needs to know where it's hosted.

FRONTEND_URL is the url hosting contentjet-ui.

FRONTEND_URL=https://example.com

BACKEND_URL is the url hosting this application (contentjet-api).

BACKEND_URL=https://api.example.com

Mail

You MUST provide the following SMTP settings for email sending.

[email protected]
SMTP_HOST=your-smtp-host
SMTP_PORT=your-smtp-host-port
SMTP_USER=your-smtp-user
SMTP_PASSWORD=your-smtp-password

3. Database migration

Run the following command to create the required tables in your database.

npm run migrate

4. Create application administrator

You must create at least one administrator user.

npm run create-admin-user

5. Run

Start the server.

npm run dev
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].