Prun.er is a web app that allows you to shorten your ugly urls into beautifully short ones. Visit prun.er at: https://pruner.herokuapp.com
Clone or fork this repository or download the entire project as a zip package and run locally.
Web application is written with Ruby using the Ruby on Rails framework.
To install Ruby visit Ruby Lang. [v2.3.0]
To install Rails visit Ruby on Rails. [v4.2.4]
Install RubyGems and Bundler to help you manage dependencies in your Gemfile.
- Once you have Ruby and Rails installed, clone the repo by running
$ git clone https://github.com/ydaniju/prun.er.git
- Then run the following command to install gem dependencies:
$ bundle install
- Then run the following command to set up the database:
$ bundle exec rake db:migrate
- Once the command runs successfully, start the Rails server by running:
$ rails server
- To access the app, visit http://localhost:3000 in a web browser
- To test the web application, run the following command to carry out all tests:
$ bundle exec rake spec
- To view test descriptors, run the following command:
$ bundle exec rake spec -fd
-
User account activation
-
Statistics available for shortened urls
-
Registered user can edit, delete or dectivate urls
-
Redirection to other sites is not protected. Users are solely responsible for their links
-
Prun.er presently have no means for user management beyond account creation
-
The app is still undergoing testing for possible bugs.
-
Password reset service hasn't been implemented
-
Email authentication hasn't been implemented
-
API web service for external users is not yet implemented
-
App is still on heroku leading to longer urls
-
Fork it by visiting - https://github.com/ydaniju/prun.er/fork
-
Create your feature branch
$ git checkout -b new_feature
-
Contribute to code
-
Commit changes made
$ git commit -a -m 'descriptive_message_about_change'
- Push to branch created
$ git push origin new_feature
- Then, create a new Pull Request