NurseDoc is a PHP-based senior care and medical services website. It is a responsive, mostly static marketing site with reusable PHP layout includes, bundled front-end libraries, service pages, contact-oriented forms, and a large collection of local images and theme assets.
Repository: https://github.com/SagsMan/NURSEDOC
Maintainer: Sagiru Garba (@SagsMan)
These are the official NurseDoc social links supplied for this project:
- X/Twitter: @nursedocLtd
- TikTok: NurseDoc on TikTok
- Facebook: NurseDoc Facebook post
- Instagram: NurseDoc Instagram highlight
The Facebook and Instagram URLs above point to a specific post/highlight, while the TikTok URL is a short share link. Replace them with permanent profile URLs when the official profile handles are confirmed.
- Application type: Server-rendered PHP website
- Primary branch:
main - Runtime: PHP with a web server such as Apache, Nginx, or PHP's built-in development server
- Database: None included
- Package manager: None included; front-end dependencies are committed under
assets/vendors - Build step: None required
- Deployment model: Upload the repository to a PHP-capable host and point the document root at the repository
This repository is currently a front-end/template implementation. It does not include user authentication, a database, a CMS, an admin panel, payment processing, or a custom API.
- PHP for page rendering and shared layout includes
include("header.php")andinclude("footer.php")provide the common site shell on the pages that use shared partials- No framework is currently used
- No Composer configuration is currently included
- HTML5 page markup
- CSS3 responsive styling
- Bootstrap 5.3.0 for layout and components
- jQuery 3.7.1 for DOM behavior and plugin integration
- Careold theme styles in
assets/css/careold.css - Google Fonts: DM Sans and Urbanist, loaded remotely from Google Fonts
- Font Awesome Free 5.15.1 for icons
- Custom site behavior in
assets/js/careold.js
The site includes local copies of the following front-end libraries:
- Bootstrap and Bootstrap Select
- jQuery UI
- Owl Carousel 2.3.4
- Slick Carousel
- Tiny Slider
- Isotope
- ImagesLoaded
- Jarallax
- Magnific Popup
- jQuery Validate
- jQuery AjaxChimp
- noUiSlider and wNumb
- WOW.js and Animate.css
- GSAP 3.12.2, ScrollTrigger, and SplitText
- Tilt
- Countdown
- jQuery Circle Progress
- jQuery Lettering and CircleType
The vendor files are loaded from footer.php and, on some standalone template pages, from the page itself.
index.php— home page with hero slider and service highlightsabout.php— about pageservices.php— services overviewservices-carousel.php— carousel-style services pagecontact.php— contact page and contact formfaq.php— frequently asked questionsreviews.php— testimonials/reviews pagegallery.php— image galleryportfolio.php— portfolio listingportfolio-details.php— portfolio detail pageteam-details.php— team/member detail pageblog-details.php— blog detail template404.php— not-found page
service-d-home.phpservice-d-nursing.phpservice-d-medical.phpservice-d-disability.phpservice-d-companion.phpservice-d-personalized.php
cart.php— cart interface templatecheckout.php— checkout interface templatelogin.php— login interface template
These pages are currently presentation templates. They do not process orders, payments, or authentication without additional backend implementation.
NURSEDOC/
├── 404.php
├── about.php
├── blog-details.php
├── cart.php
├── checkout.php
├── contact.php
├── faq.php
├── footer.php
├── gallery.php
├── header.php
├── index.php
├── login.php
├── portfolio-details.php
├── portfolio.php
├── reviews.php
├── service-d-companion.php
├── service-d-disability.php
├── service-d-home.php
├── service-d-medical.php
├── service-d-nursing.php
├── service-d-personalized.php
├── services-carousel.php
├── services.php
├── team-details.php
└── assets/
├── css/
│ ├── careold.css
│ ├── careold-dark.css
│ ├── careold-rtl.css
│ └── other theme stylesheets
├── images/
│ ├── backgrounds/
│ ├── blog/
│ ├── careold-landing/
│ ├── favicons/
│ ├── gallery/
│ ├── portfolio/
│ ├── products/
│ ├── resources/
│ ├── shapes/
│ ├── team/
│ ├── logo-dark.png
│ ├── logo-light.png
│ └── loader.png
├── js/
│ └── careold.js
└── vendors/
├── animate/
├── bootstrap/
├── bootstrap-select/
├── careold-icons/
├── careold-toolbar/
├── countdown/
├── fontawesome/
├── gsap/
├── imagesloaded/
├── isotope/
├── jarallax/
├── jquery/
├── jquery-ajaxchimp/
├── jquery-appear/
├── jquery-circle-progress/
├── jquery-circleType/
├── jquery-lettering/
├── jquery-magnific-popup/
├── jquery-ui/
├── jquery-validate/
├── nouislider/
├── owl-carousel/
├── slick/
├── tilt/
├── tiny-slider/
├── wnum/
└── wow/
The repository contains 312 tracked files, including PHP templates, CSS, JavaScript, fonts, SVGs, and image assets.
Pages that use the shared layout follow this pattern:
<?php include("header.php"); ?>
<!-- page-specific markup -->
<?php include("footer.php"); ?>header.php contains the document head, favicon references, Google Fonts, global stylesheets, navigation, and the opening page structure. footer.php contains the footer, search overlay, and JavaScript dependencies.
Some of the longer template pages contain their own complete markup and asset references instead of using both shared includes. When adding a new page, prefer the shared layout pattern so navigation, styles, and scripts stay consistent.
assets/css/careold.cssis the primary theme stylesheet.assets/css/careold-dark.csscontains dark-theme styles.assets/css/careold-rtl.csscontains right-to-left layout styles.assets/css/careold-custom-rtl.csscontains custom RTL adjustments.- Page markup uses the Careold BEM-style class naming convention.
assets/js/careold.js initializes and controls interactive behavior such as:
- Responsive navigation and sticky headers
- Sliders and carousels
- Search and popup interactions
- Date pickers
- Counters and progress bars
- Checkout accordion behavior
- Form validation hooks
- Isotope filtering
- Scroll and entrance animations
- Custom cursor behavior
- Gallery and lightbox interactions
- PHP 7.4 or newer recommended; PHP 8.x is preferred for production
- A browser
- Optional: Apache or Nginx for a production-like environment
No npm install, Composer install, or asset compilation is required for the current version.
git clone https://github.com/SagsMan/NURSEDOC.git
cd NURSEDOC
php -S localhost:8000Open http://localhost:8000 in a browser.
- Place the repository inside the Apache document root.
- Ensure PHP is enabled.
- Open the project directory through the local Apache host.
- Confirm that
index.phpis configured as a directory index.
Configure the server block so:
- The site root points to the repository directory.
.phprequests are passed to PHP-FPM.- Static files under
assets/are served directly. index.phpis used as the default index file.
Global branding, navigation, contact details, social links, and footer content are primarily located in:
header.phpfooter.php
Update the placeholder address, email address, phone/opening hours, social URLs, and logo references before production launch.
Most page content is written directly in the relevant .php file. Service copy and calls to action are distributed across the service overview and service detail pages.
Place replacement images in the matching assets/images/ category and update the corresponding src or CSS background-image reference. Keep filenames lowercase and use descriptive names where possible.
The current repository contains the visual form interfaces but not a complete application backend:
- The contact and team forms currently point to the original Careold template email endpoint and should be replaced with a controlled, server-side endpoint.
- Newsletter forms use the placeholder
MAILCHIMP_FORM_URLand require a real provider URL or a custom backend. - Search, coupon, cart, checkout, and login forms are UI templates with
#actions unless a backend is added. - There is no database connection, mail service configuration, session-based authentication, or payment gateway in this repository.
Before accepting real customer data, add server-side validation, CSRF protection, rate limiting, spam protection, secure mail delivery, and an appropriate privacy policy.
- Missing template routes: Some navigation and footer links reference additional template files that are not currently in this repository, including alternate blog, gallery, product, portfolio, review, team, and home-page variants. Either add those pages or update the links to routes that exist.
- Placeholder content: Several Careold theme labels, dates, addresses, social links, and marketing phrases remain and should be replaced with NurseDoc content.
- Forms: Replace third-party demo form actions and placeholder newsletter configuration.
- Authentication and commerce: Implement a real backend before using
login.php,cart.php, orcheckout.phpfor user accounts or transactions. - SEO and accessibility: Review page titles, descriptions, canonical URLs, heading hierarchy, image alt text, structured data, keyboard navigation, and color contrast.
- Asset licensing: Confirm the licenses for the theme, fonts, icons, images, and bundled vendor libraries before commercial deployment.
- Performance: Optimize large images, enable compression and caching, and consider a CDN for production traffic.
- Replace all placeholder NurseDoc/Careold content.
- Update global navigation, contact information, and social links.
- Replace or remove links to pages that are not included.
- Configure real contact and newsletter processing.
- Add HTTPS and secure headers.
- Add server-side validation and CSRF protection to every form.
- Review third-party asset licenses.
- Optimize images and enable browser/server caching.
- Test on mobile, tablet, and desktop breakpoints.
- Test all page links, forms, keyboard interactions, and 404 handling.
- Add analytics only after reviewing consent and privacy requirements.
- Create a feature branch.
- Make the smallest focused change possible.
- Test the affected pages using a local PHP server.
- Check browser console errors and broken asset links.
- Commit with a clear message.
- Open a pull request against
main.
No project-specific license file is currently included. Before redistributing or deploying the site, document the license for the NurseDoc code and verify the licenses of the original Careold theme and all bundled assets.