/re-former-microverse

re-former

Primary LanguageRubyMIT LicenseMIT

Rails Blog

This project build a form in rails that can send parameters to a controller so that it can build an instance of a model with those parameters.

Instructions

  • You can add a new user setting up username, email and password in the form.
  • You can edit a submitted user using the user id.

Built With

  • Ruby

  • Ruby and Rails

  • Rubocop linters

  • Rspec test

Getting Started

  • Make sure Ruby version ruby 2.5.0 or later is installed on your computer.

  • You also need sqlite3, node.js and yarn installed.

  • And for last you need ruby on rails version 6.0.0 or later.

  • To get your copy of our project simply clone the repository to your local machine.

  • Open CMD

  • Type the following command into a git-shell

    git clone git@github.com:danielufeli/re-former-microverse.git
    
  • Run the program from the command line, then open it in a text editor

How to run this project

  • In your CMD

  • Type the following command:

    rails server
    
  • Then click this url http://127.0.0.1:3000 to open the server in browser.

  • To create a new user add at the end of the url:

    /users/new
    
  • Press enter and type the information required.

  • To edit a user add at the end of the url:

    /users/(*id)/edit
    
  • Press enter and update the information required.

  • *Replace *id for a valid id(1, 2, 3...).

Authors

👤 Daniel Ufeli

👤 Mar y Sol Bautista

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!