Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagohrcosta/travel-app
A project using Ruby on Rails and Boostrap to create a travel app where it's possible to create, update and delete places.
https://github.com/thiagohrcosta/travel-app
bootstrap4 css3 html5 postgresql rails ruby
Last synced: 18 days ago
JSON representation
A project using Ruby on Rails and Boostrap to create a travel app where it's possible to create, update and delete places.
- Host: GitHub
- URL: https://github.com/thiagohrcosta/travel-app
- Owner: thiagohrcosta
- Created: 2021-05-02T00:57:01.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T18:29:08.000Z (almost 4 years ago)
- Last Synced: 2024-12-09T05:42:57.816Z (2 months ago)
- Topics: bootstrap4, css3, html5, postgresql, rails, ruby
- Language: Ruby
- Homepage:
- Size: 185 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TravelApp

## Technologies
This project was created with:- [Ruby](https://www.ruby-lang.org/pt/)
- [Rails](https://rubygems.org/gems/rails)
- [ERB](https://ruby-doc.org/stdlib-2.7.1/libdoc/erb/rdoc/ERB.html) (for template system with Ruby)
- [Pry-byebug](https://rubygems.org/gems/pry-byebug/versions/3.4.0?locale=pt-BR) (for debugging)
- [Bootstrap](https://getbootstrap.com/)
- [Geocoder](https://rubygems.org/gems/geocoder/versions/1.3.7?locale=pt-BR) (will be added in next features)
- [Postgresql](https://www.postgresql.org/)## Content
To display content like that was used bootstrap `col-xl-4 col-md-6`
## CSS GridTo display flats on index page was used CSS grid:

```
.box-flex{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 16px;
margin: 10px;
}.box-flat{
margin: 10px 0;
background-color: #7868e6;
border: 1px solid #E8E8E8;
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
```
In this code was also used `position: relative` and `position:absolute` to display flag and price.## How to run this project
Download or clone it. . Then run in the main folder the command `rails server`. If needed, run `bundle install` to check if all gems are correctly installed. Then open the project on `localhost:3000/flats`## What user can do?
As user you can manipulate all **CRUD** operations like:- Insert a place;
- Edit a place
- Delete a place;## Development routine
**April 1**
- Project created;
- Adding bootstrap, jquery, popper;
- Adding font-awesome, simple_form;
- Models and Controllers created;
- Database created;