Skip to content

A simple implementation of Excalidraw using Hapi.js server

License

Notifications You must be signed in to change notification settings

harpo/excalidraw-hapi

Repository files navigation

Excalidraw Hapi.js Integration

A simple implementation of Excalidraw using Hapi.js server. This project provides a clean way to serve Excalidraw as a standalone application.

Features

  • Hapi.js server setup
  • Excalidraw integration
  • Static file serving
  • Full-screen canvas support

Prerequisites

  • Node.js (v14 or higher)
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/harpo/excalidraw-hapi.git
    cd excalidraw-hapi
  2. Install dependencies:

    npm install

Usage

  1. Start the server:

    node server.js
  2. Open your browser and navigate to http://localhost:3000

Project Structure

excalidraw-hapi/
├── server.js
├── public/
│   ├── index.html
│   └── app.js
├── package.json
└── LICENSE

Dependencies

  • @hapi/hapi
  • @hapi/inert
  • react
  • react-dom
  • @excalidraw/excalidraw

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Contact

Project Link: https://github.com/harpo/excalidraw-hapi


About

A simple implementation of Excalidraw using Hapi.js server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published