This project is part of the Microverse curriculum in Ruby On Rails course!
Explore the docs »
Report Bug
Request Feature
The purpose of this project is to present the rails helper methods in order to create an HTML form. Initially we created a form using native HTML mark-up and gradually re-formed it to follow rails practices using helper methods. We implemented one form to handle user’s details insertions to the Users table in a database. Additionally, for convenience, we created an index form to access all users, a details form to view the user’s details and an edit form to edit those details and also to handle input errors.
- About the Project
- Application Instructions
- System Requierments
- Configuration
- Database initialization
- Development
- Built With
- Contributors
- Acknowledgements
The project creates a SQLite database which holds one table:
- Users
- Fields : username, email, password, created_at, update_at
Constrainsts for user table are as follows:
- Minimun lenght for username: 4 characters
- Minimun lenght for email: 10 characters
- Minimun lenght for password: 6 characters
- Initially the application shows the users index
- By clicking the 'New user' button you can add a new user by filling the fields and clicking on 'Create user' button
- In the index, clicking on a user shows the user's details page
- In user details, clicking the 'Edit' button shows the edit user details page. After editing, click on the 'Update user' button to save the changes
- Invalids inputs show appropriate error messages
- Ruby
- Rails
- Yarn
- first, clone the project Run
git clone https://github.com/ioanniskousis/re-former.git
- Install the necessary dependancies Run
bundle install
yarn install
In order to add initial data to the database run
rails db:seed
This will add 4 users
- Clone the project
https://github.com/ioanniskousis/re-former.git
This project was built using these technologies.
- Ruby version 2.6
- Ruby On Rails version 6.0
👤 Author_1 ## Ioannis Kousis
- Github: @ioanniskousis
- Twitter: @ioanniskousis
- Linkedin: Ioannis Kousis
- E-mail: jgkousis@gmail.com
👤 Author_2 ## Eric Mbouwe
- Github: @ioanniskousis
- Twitter: @ioanniskousis
- Linkedin: Eric Mbouwe
- E-mail: ericmbouwe@gmail.com