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.
- 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.
-
Ruby
-
Ruby and Rails
-
Rubocop linters
-
Rspec test
-
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
-
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...).
👤 Daniel Ufeli
- Github: @danielufeli
- Twitter: @danielufeli
- Linkedin: danielufeli
👤 Mar y Sol Bautista
- GitHub: @marilirulita
- Linkedin: Mar y Sol Bautista
- Twiter: @marylirulita
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!