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.
- Run
cp .env.example .env
- Run
composer install
- Run
npm install
- Run
npm dev
ornpm 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
- Run
cd client
- Run
npm install
- Run
npm start
ornpm run build
for a production build.
Moira CMS is a open-sourced software licensed under the MIT license.