Skip to content

Moira CMS is a simple headless CMS powered by Laravel and GraphQL

License

Notifications You must be signed in to change notification settings

ryanapanowicz/moiracms

Repository files navigation

laravel 10.5.0 react 18.2.0 antd 5.2.0

About Moira CMS

Moira CMS is a simple headless CMS powered by Laravel, GraphQL, React, and Ant Design.

Note: This project was created as a way for me to better learn React, GraphQL, and Ant Design. Moira CMS GraphQL API uses Lighthouse for the Laravel backend and Apollo for the React Admin frontend. Moira CMS is currently configured to be used as a portfolio SPA.

  • GraphQL API for managing User, Roles, Permissions, Media, and Projects.
  • React powered Admin frontend.
  • Media upload and management through GraphQL API.

Installation

Laravel Backend Install

  • Run cp .env.example .env
  • Run composer install
  • Run npm install
  • Run npm dev or npm run build
  • Add database name, username and password in .env
  • Run php artisan moiracms:install and follow prompts.
  • Run php artisan serve

You can interact with the GraphQL API in a development environment by visiting http://localhost:8000/graphiql

Admin Frontend Install

  • Run cd client
  • Run npm install
  • Run npm start or npm run build for a production build.

License

Moira CMS is a open-sourced software licensed under the MIT license.