Giter VIP home page Giter VIP logo

react-spa-laravel-typescript's Introduction

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.

react-spa-laravel-typescript's People

Contributors

amitavroy avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-spa-laravel-typescript's Issues

Problem with Component type

image

I followed all your videos to create a react login that connects to a Laravel API. However, I now encounter an error that I can't get rid of. "Binding element 'Component' implicitly has an 'any' type. | ts(7031)"

Inside this file: here

Maybe you know the solution?

TypeScript error

Hi, I just installed your app but there is error like:

TypeScript error in C:/Users/Rade/Desktop/react-spa-laravel-typescript-master/client/src/pages/homepage/index.tsx(10,10):
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes & Pick<ClassAttributes<Layout> & Props, "ref" | "key">'.  TS2559

     8 |     return (
     9 |       <div className="wrapper">
  > 10 |         <Layout>
       |          ^
    11 |           <Content title="Dashboard">
    12 |             <Home />
    13 |           </Content>

Activity module

Handling the feature of listing the Activity module.
Need to support text post, images with up to 4 or more
Likes
Comments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.