Skip to content

RazvanRauta/laravel-react

Repository files navigation

Amazing Real Estates

Deploy to DO Netlify Status Heroku

Description

Simple app compose from a server app wich is providing the api logic and a client app for the ui. The backend is made with Laravel and the frontend with React, Redux, Material-UI, Typscript

Live view

Requierments

  • php 7.4
  • node-js
  • yarn
  • composer
  • docker
  • docker-compose
  • mysql
  • optional - Mailgun Api

Install

./backend

  • Create .env file in ./backend with your variables
  • composer install
  • php artisan rr:parse-web-page to fetch all posts

./frontend

  • Create .env file in ./frontend with backends url
  • yarn install

Run Project

In ./backend php artisan serve

In ./frontend yarn start

Build project with docker

  • Create .env file in repo's root with your variables
  • Generate SSL certificates and add the folder path to .env CERT_LOCATION
  • docker-compose up --build -d

For using without certificates modify frontend/nginx/nginx.conf and adjust the docker-compose.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published