Rails/Vue full-stack template to use ideas from
Description
The best template for Rails/Vue.js stack you may find somewhere, but I am just too lazy to write about all the features right now.
Prerequisites
To start development server you need latest stable versions of git
, docker
,
docker-compose
and dip installed.
How to start
Do not use it. Better regenerate frontend folder via Vite
or something and
copy docker configuration, etc.
Entry points
-
Frontend: localhost:3333
-
Backend: localhost:8888
Tests
Rspec
Just use dip rspec
to launch rspec
and get the spec coverage from
simplecov
.
Parallel tests for RSpec
If you want to use all the cores of your CPU for API specs, you may use
make parallel
. Its not profitable due to small number of specs, though.
Cypress
There are simple end-to-end tests, you may launch them with make cypress
.