An open API service indexing awesome lists of open source software.

https://github.com/cyrus-kiprop/re-former

This is part of the Forms Project in The Odin Project’s Ruby on Rails Curriculum. Find it at http://www.theodinproject.com”
https://github.com/cyrus-kiprop/re-former

Last synced: about 2 months ago
JSON representation

This is part of the Forms Project in The Odin Project’s Ruby on Rails Curriculum. Find it at http://www.theodinproject.com”

Awesome Lists containing this project

README

        

Ruby On Rails Forms



Version

License: MIT


Twitter: kipropJS

## Description of the project

The project involves creation of forms in rails using different three different techniques. Here in, the forms created with form_tags methods and normal html tags are commented out while the one that is uncommented is the form created with form_for railsey tags.

**The project contain database models and schemas that model the user object
visit [The Odin Project](https://www.theodinproject.com/courses/ruby-on-rails/lessons/forms) for the full project specifications.

### ⭐️ Built with
* Ruby,
* Ruby on Rails,
* SQL lite as the default database

### Dev Environment Requirements:
* Ruby, check [here](https://www.ruby-lang.org/en/documentation/installation/) for more information.

### ⭐️ Running the code

#### Instructions:

1. Clone the re-former repo [here](https://github.com/Cyrus-Kiprop/re-former/tree/develop)

2. Navigate into the root of the folder
```
$ cd ./re-former
```
3. Run bundle install to install the necessary gems:
```
$ bundle install
```
3. Install Yarn
```
$ yarn install --check-files
```
3. Migrate the DB
```
$ rails db:migrate
```
3. Run the sandboxed console to explore the database
```
$ rails console --sandbox
```
4. Run the server
```
$ rails server
```
5. Navigate to the new user path uri on the browser
```
$ http://localhost:3000/users/new
```
6. Create a new user with the help of the form displayed.

## Authors

👤 **Cyrus Kiprop**

- Github: [Cyrus-Kiprop](https://github.com/Cyrus-Kiprop)
- Twitter: [@kipropJS](https://twitter.com/kipropJS)
- Linkedin: [Cyrus Kiprop](https://www.linkedin.com/in/cyrus-kiprop-ba7320120/)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the [issues page](https://github.com/Cyrus-Kiprop/well-paid-geek-bot/issues).

## Show your support

Give a ⭐️ if you like this project sanbox

## 📝 License

This project is [MIT](LICENSE) licensed.