Getting Started
Prerequisites
- .NET 8 SDK
- Docker Desktop (for PostgreSQL)
Installation
Clone the repository
bashgit clone https://github.com/baryodev/barakoCMS.git cd barakoCMSStart the Database
bashdocker-compose up -dRun the Application
bashcd barakoCMS dotnet runThe API will be available at
http://localhost:5000(or configured port).
First Steps
- Access Swagger UI: Go to
http://localhost:5000/swaggerto explore the API. - Authenticate: Use the default admin credentials (if configured) or the seeded users from the
AttendancePOC.- SuperAdmin: See
appsettings.jsonor console output. - HR Manager:
hr_manager/HRPassword123! - Standard User:
john_viewer/UserPassword123!
- SuperAdmin: See
Building a Frontend
BarakoCMS is headless-first. We provide a Next.js Starter Kit to get you up and running quickly.
Using the Starter Kit
Navigate to the examples directory:
bashcd examples/nextjs-starterInstall dependencies:
bashnpm installRun the development server:
bashnpm run devOpen
http://localhost:3000. It will connect to your local BarakoCMS backend (http://localhost:5005) to fetch content.