Skip to content

⚡️ PingCRM on Vite Rails - A Vite.js + Inertia.js + Vue SSR + Rails demo

License

Notifications You must be signed in to change notification settings

ElMassimo/pingcrm-vite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unlike the original demo, this replaces webpacker with Vite Rails, which provides a substantially faster development experience.

It also leverages js_from_routes to auto-generate API methods to effortlessly integrate with the Rails backend, which works nicely in combination with vite-plugin-full-reload

Styles are powered by Windi CSS, a faster alternative to Tailwind CSS.

Demo 🚀

To learn more about how to move from webpacker to Vite Rails, check this pull request.

To learn more about how js_from_routes can help you simplify your code, check this pull request.

Visit the live demo. Login with:

Screen Shot 2021-02-05 at 16 34 59

Installation 💿

Clone the repo locally:

git clone https://github.com/ElMassimo/pingcrm-vite.git

Setup (install dependencies, create and seed database):

cd pingcrm-vite
bin/setup

Start it:

foreman start

You're ready to go! Visit PingCRM in your browser (http://localhost:3000), and login with:

Running tests

To run the PingCRM tests, run:

rails test:system

Requirements

  • Ruby 3.1
  • Ruby on Rails 7
  • PostgreSQL

Credits

  • Original work by Jonathan Reinink (@reinink) and contributors
  • Port to Ruby on Rails by Georg Ledermann (@ledermann)
  • Port from Webpacker to Vite Rails (@ElMassimo)

About

⚡️ PingCRM on Vite Rails - A Vite.js + Inertia.js + Vue SSR + Rails demo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 48.4%
  • Vue 43.9%
  • TypeScript 4.1%
  • CSS 1.6%
  • JavaScript 1.2%
  • HTML 0.6%
  • Other 0.2%