A simple implementation of Excalidraw using Hapi.js server. This project provides a clean way to serve Excalidraw as a standalone application.
- Hapi.js server setup
- Excalidraw integration
- Static file serving
- Full-screen canvas support
- Node.js (v14 or higher)
- npm
-
Clone the repository:
git clone https://github.com/harpo/excalidraw-hapi.git cd excalidraw-hapi
-
Install dependencies:
npm install
-
Start the server:
node server.js
-
Open your browser and navigate to
http://localhost:3000
excalidraw-hapi/
├── server.js
├── public/
│ ├── index.html
│ └── app.js
├── package.json
└── LICENSE
@hapi/hapi
@hapi/inert
react
react-dom
@excalidraw/excalidraw
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Project Link: https://github.com/harpo/excalidraw-hapi