All Projects → andchir → modx2-api

andchir / modx2-api

Licence: MIT license
MODX Revolution RESTful API

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to modx2-api

modx-instagram-latest-posts
This snippet allows us to get the latest posts of any Instagram user. Access tokens are NOT required.
Stars: ✭ 20 (+25%)
Mutual labels:  modx-revolution, modx
CronManager
Manage cronjobs within the MODX manager
Stars: ✭ 17 (+6.25%)
Mutual labels:  modx-revolution, modx
Alpacka
Base service class for MODX packages including common utilities, available via composer as `modmore/alpacka`
Stars: ✭ 14 (-12.5%)
Mutual labels:  modx-revolution, modx
CustomRequest
Use pretty URLs everywhere in MODX Revolution
Stars: ✭ 17 (+6.25%)
Mutual labels:  modx-revolution, modx
babel
Babel is an Extra for MODx Revolution that creates linked documents across different contexts. The easy way for your multilingual site!
Stars: ✭ 61 (+281.25%)
Mutual labels:  modx-revolution, modx
server
AuthzForce Server (Community Edition)
Stars: ✭ 48 (+200%)
Mutual labels:  restful-api
nocodb
🔥 🔥 🔥 Open Source Airtable Alternative - turns any MySQL, Postgres, SQLite into a Spreadsheet with REST APIs.
Stars: ✭ 28,894 (+180487.5%)
Mutual labels:  restful-api
http4s-good-practices
Collection of what I consider good practices in Http4s (WIP)
Stars: ✭ 74 (+362.5%)
Mutual labels:  restful-api
buzzyblog
React + WordPress REST API, a new endeavor to provide a better experience to content creators, web masters and digital marketers, etc
Stars: ✭ 50 (+212.5%)
Mutual labels:  restful-api
dhiwise-nodejs
DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
Stars: ✭ 224 (+1300%)
Mutual labels:  restful-api
go-echo-boilerplate
The fastest way to build a restful API with golang and echo framework. Includes common required features for modern web applications. A boilerplate project with golang and Echo.
Stars: ✭ 53 (+231.25%)
Mutual labels:  restful-api
nest-admin
NestJs CRUD for RESTful API使用 nestjs + mysql + typeorm + redis + jwt + swagger 企业中后台管理系统项目RBAC权限管理(细粒度到按钮)、实现单点登录等。
Stars: ✭ 165 (+931.25%)
Mutual labels:  restful-api
easy-gin
一套基于 Gin 框架的 MVC 脚手架,使用 govendor 包管理
Stars: ✭ 74 (+362.5%)
Mutual labels:  restful-api
APIExample
以API接口开发为例,探索开发的最佳实践
Stars: ✭ 61 (+281.25%)
Mutual labels:  restful-api
response
Response HTTP package for Simfony, Laravel, Lumen and PHP 7 with standard REST API
Stars: ✭ 14 (-12.5%)
Mutual labels:  restful-api
seal
django-base-templates 主要为 django 开发DEMO, 支持 非前后端分离 和 前后端分离模式 。
Stars: ✭ 118 (+637.5%)
Mutual labels:  restful-api
teslamateapi
TeslaMateApi is a RESTful API to get data collected by self-hosted data logger TeslaMate in JSON
Stars: ✭ 47 (+193.75%)
Mutual labels:  restful-api
docker-node-express-boilerplate
Boilerplate for quickly bootstrapping production-ready RESTful APIs / microservices
Stars: ✭ 113 (+606.25%)
Mutual labels:  restful-api
MusicDatabase-API
This project is able to manage your songs, artists, albums and more by RESTful API. Developed with ASP.NET Core 2.0 & EF Core and used PostgreSQL Database Provider. Implemented Swagger to project.
Stars: ✭ 18 (+12.5%)
Mutual labels:  restful-api
rest node api
用node实现restful风格的api
Stars: ✭ 55 (+243.75%)
Mutual labels:  restful-api

MODX Revolution RESTful API

Used:

Screenshots

MODX API - screenshot #1

MODX API - screenshot #4

MODX API - screenshot #2

MODX API - screenshot #3

How to install

  1. Download and upload to your server or clone the repository.

  2. composer install
    
  3. Open ".env" file and set DB connection parameters in DATABASE_URL=mysql://db_user:[email protected]:3306/db_name

  4. Clear cache:

    php bin/console cache:clear
    
  5. Configure a Web Server:
    https://symfony.com/doc/current/setup/web_server_configuration.html

  6. Create users table in DB:

    bin/console doctrine:schema:create
    

    Create an administrator with the email "[email protected]" and the password "admin" (you can change it later):

    php bin/console doctrine:fixtures:load --append --group=UserFixtures
    
  7. Generate JWT keys in folder "config/jwt":

    jwt_passhrase=$(grep ''^JWT_PASSPHRASE='' .env | cut -f 2 -d ''='')
    echo "$jwt_passhrase" | openssl genpkey -out config/jwt/private.pem -pass stdin -aes256 -algorithm rsa -pkeyopt rsa_keygen_bits:4096
    echo "$jwt_passhrase" | openssl pkey -in config/jwt/private.pem -passin stdin -out config/jwt/public.pem -pubout
    setfacl -R -m u:www-data:rX -m u:"$(whoami)":rwX config/jwt
    setfacl -dR -m u:www-data:rX -m u:"$(whoami)":rwX config/jwt
    
  8. Get token:

    curl -X POST -H "Content-Type: application/json" http://localhost:8000/authentication_token -d '{"email":"[email protected]","password":"admin"}'
    

    Token usage on API page. Click "Authorize" button. Paste string with token:

    Bearer MY_TOKEN
    
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].