yarn add express dotenv cors inversify jsonwebtoken reflect-metadata
yarn add typescript @types/express @types/node ts-node-dev @types/cors concurrently nodemon -D
// Create laravel project | |
composer create-project --prefer-dist laravel/laravel project | |
// Setup .env | |
touch project/.env | |
// Execute laravel migrations | |
php artisan migrate:fresh --seed | |
// Add swagger support for laravel |
/* | |
Creacte react.js app with npx OR yarn | |
npx create-react-app <my-app> | |
-OR | |
npx create-react-app <my-app> --template typescript | |
-OR | |
yarn create react-app my-app --template typescript | |
// Create workspace | |
npx create-nx-workspace@latest | |
// Add react support | |
npm i --save-dev @nrwl/react | |
// Add express support | |
npm i --save-dev @nrwl/express | |
// Create react app |