Project

frontview

0.0
Low commit activity in last 3 years
No release in over a year
This gem creates folders and files that are meant for the Views of your rails web app so as to provide easier starting point to your development process.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2.24
~> 5.0
~> 6.1, >= 6.1.4.1

Runtime

~> 5.0
~> 6.1, >= 6.1.4.1
 Project Readme

alt text

This is frontview gem, a gem that gives the front-end template to the rails 6 applications for easier web development. It provides the assets contents i.e folders & files(images[favicon.png & logo.png], stylesheets[css/style.css]), javascript content i.e (javascript/packs/main.js) & the views contents folders & Files.

Installation

Add this line to your application's Gemfile:

gem 'frontview'

And then execute:

bundle install

Usage

Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)

rails g scaffold home title:string body:text

Delete scaffold.scss, from (assets/stylesheets/scaffold.scss). Optional: ------>>> Delete the Sass files i.e homes.scss.

Delete all the files in views/homes except index.html.erb

Generate the necessary files and folders by: N/B: You will be prompted to give the name of your model, In this case you'll write 'home' and press enter. All the files will then be in place.

rails g frontview:install

Create & Migrate DB

rails db:create db:migrate

Finally run the rails server and you are good to go:

rails s

Access your web in: localhost:3000

Sample screenshots of the frontview theme(Fully Responsive):

Home Section:

alt text

Introduction Section (Showing Header):

alt text

About Us Section:

alt text

Our Services Section:

alt text

Contact Us & Footer Section:

alt text

VoilĂ 

                         \
                        / \
                       /   \
                      /    |
                     /     |
                    /     /
                  _/     /
___________      /      /
      |   |_____/      /_________
      |   |    /      /\___      \
      |   |   /        /  /      |
      |   |  /        /__/_______/__
      |   | |     ___ /             \
      /   | |    /  /               |
     /    | |   /__/________________/
    /     | |      ___/           \
   /  ___ | |     /  /            |
  /  [___]|_|    /__/_____________/
 /_____/     \    / /          |   
              \  /_/___________/
               \_________/

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elibiz443/frontview. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Frontview project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.