- Info
- How it works
- The code
This is for uploading multiple files from Front -> Backend using Multer and React.
- Using: Express as Backend, NextJS(React) as Front
| # Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | |
| # More GitHub Actions for Azure: https://github.com/Azure/actions | |
| name: Build and deploy Node.js app to Azure Web App - your-app-name | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: |
| title | Docker Compose Cheatsheet |
|---|---|
| subtitle | Quick reference for Docker Compose commands and config files |
| author | Jon LaBelle |
| date | April 7, 2019 |
| source | https://jonlabelle.com/snippets/view/markdown/docker-compose-cheatsheet |
| const { faker } = require("@faker-js/faker"); | |
| const fs = require("fs"); | |
| function test(){ | |
| const data=[] | |
| for(let i=0;i<10;i++){ | |
| data.push({ | |
| field1: faker.number.int({ min: 100000, max: 100010 }), | |
| field2: faker.number.int({ min: 10000000000000, max: 10000000000010 }), |
| "use client"; | |
| import { MsalProvider } from "@azure/msal-react"; | |
| import { msalInstance } from "../../config/msal"; | |
| import React from "react"; | |
| type Props = { | |
| children?: React.ReactNode; | |
| }; |
| const { fontFamily } = require("tailwindcss/defaultTheme") | |
| /** @type {import('tailwindcss').Config} */ | |
| module.exports = { | |
| darkMode: ["class"],// content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"], | |
| content: ["app/**/*.{ts,tsx}", | |
| "components/**/*.{ts,tsx}", | |
| './pages/**/*.{ts,tsx}', | |
| './components/**/*.{ts,tsx}', | |
| './app/**/*.{ts,tsx}', |