This repository contains a full-stack application with a frontend built using React and a backend built using Laravel.
The React is located in the frontend directory. It uses Webpack and Babel for bundling and transpilation.
ddev yarn --cwd /var/www/html/frontend build: Runs the build script using Webpackddev yarn --cwd /var/www/html/frontend start: Starts the development serverddev yarn --cwd /var/www/html/frontend test: Runs the test suite using Jestddev yarn --cwd /var/www/html/frontend lint: Runs ESLint on the codebase
The NextJS is located in the nextjs directory.
ddev yarn --cwd /var/www/html/nextjs build: Runs the build script using Webpackddev yarn --cwd /var/www/html/nextjs start: Starts the development serverddev yarn --cwd /var/www/html/nextjs test: Runs the test suite using Jest # WIPddev yarn --cwd /var/www/html/nextjs lint: Runs ESLint on the codebase
The backend is built using Laravel and is located in the backend directory. It uses Composer for dependency management.
ddev composer install -d /var/www/html/backend: Runs the composer install in backendddev composer update -d /var/www/html/backend: Runs the composer update in backend
- Docker installation
To get started with the project, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/your-repo-name.git - Run CMD:
ddev start
Contributions are welcome! Please submit a pull request with a clear description of the changes made.
This project is licensed under the ISC License.
- Laravel: https://laravel.com/
- React: https://reactjs.org/
- NextJS: https://nextjs.org/