Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulinetw/quote-editor
Quotation editor using turbo-rails library
https://github.com/paulinetw/quote-editor
postgresql rails7 stimulus stimulus-controller turbo-rails
Last synced: 21 days ago
JSON representation
Quotation editor using turbo-rails library
- Host: GitHub
- URL: https://github.com/paulinetw/quote-editor
- Owner: PaulineTW
- Created: 2022-09-28T08:06:56.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-07T05:01:17.000Z (over 2 years ago)
- Last Synced: 2024-12-20T21:44:57.187Z (21 days ago)
- Topics: postgresql, rails7, stimulus, stimulus-controller, turbo-rails
- Language: Ruby
- Homepage: https://awesome-quote-editor.herokuapp.com/
- Size: 2.44 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quote editor
Single-page quote editor without having to write a single line of custom JavaScript thanks to Turbo drive, Turbo Frames and Turbo Streams.
- all clicks on links and form submissions are now AJAX requests thanks to Turbo Drive.
- real-time features with the help of Turbo Streams## Table of contents
* [General info](#general-info)
* [Technologies](#technologies)
* [Setup](#setup)
* [Features](#features)## General info
Demo [here](https://awesome-quote-editor.herokuapp.com/)
Demo Login
Use the following credentials to explore the app:
```
email: [email protected]
password: password
```
## Technologies
Project is created with:
* Ruby 3.1.2
* Rails 7.0.4
* Redis 5.0.7- gem turbo-rails
- gem Devise
- gem stimulus-rails
- gem simple_form
- Test : BDD with Capybara and Selenium
- Front: Scss, Stumulusjs
- Database: PostgreSQL
- Hosting: Heroku
## SetupClone the repository
```
git [email protected]:PaulineTW/quote-editor.git
cd quote-editor
```First, install the gems required by the application:
```
$ bundle install
```Initialize the database
```
$ bin/setup
```Start rails server
```
$ bin/dev
```Start Redis server
```
$ redis-server
```
You can find your app now by pointing your browser to http://localhost:3000.Run Test
```
$ bin/rails test:system
$ bin/rails test:all
```## Features
- User login
- CRUD quote
- CRUD line item date
- CRUD line item
- Tuning of disappearing flash-messages
- Quote total display