Skip to content

Instantly share code, notes, and snippets.

View barinascode's full-sized avatar
🏠
Working from home

Leonardo Alfonso Tapia Delgado barinascode

🏠
Working from home
View GitHub Profile
@barinascode
barinascode / express-setup-with-hexagonal-architecture.md
Last active July 12, 2023 22:44
Typescript Express Server Api Setup

TYPESCRIPT EXPRESS API SETUP

Install Dependencies

yarn add express dotenv cors inversify jsonwebtoken reflect-metadata
yarn add typescript @types/express @types/node ts-node-dev @types/cors concurrently nodemon -D
@barinascode
barinascode / laravel-swagger-setup.txt
Last active May 18, 2023 16:15
laravel-swagger-setup.txt
// 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
@barinascode
barinascode / commands-and-setup.txt
Last active February 23, 2023 18:38
react-frontend-setup-commands
/*
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