Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

This repository contains a full-stack application with a frontend built using React and a backend built using Laravel.

Frontend

The React is located in the frontend directory. It uses Webpack and Babel for bundling and transpilation.

Scripts

  • ddev yarn --cwd /var/www/html/frontend build: Runs the build script using Webpack
  • ddev yarn --cwd /var/www/html/frontend start: Starts the development server
  • ddev yarn --cwd /var/www/html/frontend test: Runs the test suite using Jest
  • ddev yarn --cwd /var/www/html/frontend lint: Runs ESLint on the codebase

NextJS

The NextJS is located in the nextjs directory.

Scripts

  • ddev yarn --cwd /var/www/html/nextjs build: Runs the build script using Webpack
  • ddev yarn --cwd /var/www/html/nextjs start: Starts the development server
  • ddev yarn --cwd /var/www/html/nextjs test: Runs the test suite using Jest # WIP
  • ddev yarn --cwd /var/www/html/nextjs lint: Runs ESLint on the codebase

Backend

The backend is built using Laravel and is located in the backend directory. It uses Composer for dependency management.

Scripts

  • ddev composer install -d /var/www/html/backend: Runs the composer install in backend
  • ddev composer update -d /var/www/html/backend: Runs the composer update in backend

Getting Started

Prerequisites

  • Docker installation

To get started with the project, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/your-repo-name.git
  2. Run CMD: ddev start

Contributing

Contributions are welcome! Please submit a pull request with a clear description of the changes made.

License

This project is licensed under the ISC License.

Acknowledgments

About

Laravel and react setup using ddev

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages