Re-former
This project actually builds some forms, both using nearly-pure HTML and then graduating to using the helper methods that Rails provides. It is gotten from The Odin Project.
Screenshot
Tools and technologies used to build this project
- Ruby 2.7.1
- Ruby on Rails 6.0.3.2
- Bootstrap
Running and testing it locally
Prerequisites
- You should have Ruby 2.7.1
- You need to have Rails 6.0.3.2
- You need to have Yarn v1.22.4
Setup
-
Clone this repository with
https://github.com/Georjane/Forms.git
-
Go inside this repo locally by typing
cd re-former
-
Run
bundle install
to install all ruby dependecies -
Run
yarn
to install js dependencies -
Run
bin/rails db:migrate
to create necessary tables in database
Testing
- Start the server by running
bin/rails server
, if all of the above steps has been followed correctly, you should get a server started onhttps://127.0.0.1:3000
or easilyhttps://localhost:3000
- Go to these paths:
GET /users/new => Create a user 1
GET /users/1/edit => Edit user 1
and observe the changes in your terminal
Author
Witah Georjane
- Github: @Georjane
- Twitter: @WittyJany
- LinkedIn: Witah Georjane
Show your support
Give a ⭐️ if you like this project!