JavaSketcher is a single page application that allows users to draw and save sketches. You can view other people's sketches and give them a thumbs up/down. It communicates with a Rails API backend using AJAX requests.
✨ Demo
JavaSketcher was built using
- JavaScript ES6
- Rails API 6.1
- Bulma 0.9.2
- Utilizes the HTML5 Canvas API to let users draw on the viewport using their mouse.
- Allows users to change their brush size and color.
- Canvas maintains a state log, allowing users to undo previous actions.
- Canvas dynamically resizes while maintaining the existing drawing.
- Converts the Canvas to a .jpeg that can be downloaded locally or sent to the server as a blob via AJAX
- Sketchpad class can be easily retooled for applications elsewhere.
While in the backend directory:
bundle install
rails db:migrate
rails s
While in the frontend directory:
open index.html
👤 Garrett Bodley
- Website: https://www.linkedin.com/in/garrett-bodley/
- Github: @Garrett-Bodley
- LinkedIn: @garrett-bodley
Give a ⭐️ if this project helped you!
Copyright © 2021 Garrett Bodley.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator