Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.13 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.13 KB

VaporReactVite

Vapor with React

  • Fully supported on Windows

Screenshots

alt text alt text alt text

Install on Windows (WSL required)

  • Use the install script, it will install everything, WSL,Required packages,Swiftly, Swift, Vapor alt text
powershell -ExecutionPolicy ByPass -File .\install_part1.ps1 

Part2: Will help to install WSL (it requires Admin privileges)

powershell -ExecutionPolicy ByPass -File  .\install_part2.ps1

Part2: Will help to install Swiftly, Swift + Vapor (it requires Admin privileges)

powershell -ExecutionPolicy ByPass -File  .\install_part3.ps1

To run the APP

Proxy server included, it will start both Vapor + React + Vite

  • First install React + Vite using the following command:
npm install
  • Then run the following command: (it will start both Vapor + React)
npm run dev

Endpoints

http://localhost:8888/ -> React + Vite
http://localhost:8888/api -> Vapor