haliim / react-spa-laravel-typescript

React Single Page application with Typescript and Laravel backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Server tests

React Admin

Admin

This repository is an SPA that I am building using React JS in front end supported by Laravel in the backend for API. The entire front end is based on the Admin LTE theme. I have not made any change in the CSS, and tried to replicate as much of the functionality as possible but using only React JS.

The application is completely developed in Typescript using the Create React App Typescript template.

  • The PHP code is formatted through PHP-CS-Fixer during the pre-commit hook so you will find consistend code throughout the application followign the rule of phpcsfixer.
  • The Javascript / Typescript code is formatted using Prettier dring the pre-commit hook as well.
  • API level tests written to ensure maximum test coverage of code.
  • Enzyme based tests written to ensure maximum test coverage for React Components.
  • Have added Git actions and workflow to ensure tests are executed on each code push and run PHP Unit and Javascript tests cases.

About

React Single Page application with Typescript and Laravel backend


Languages

Language:CSS 81.0%Language:PHP 9.2%Language:TypeScript 7.2%Language:SCSS 1.3%Language:JavaScript 0.7%Language:Blade 0.3%Language:HTML 0.2%Language:Shell 0.1%