Giter Club home page Giter Club logo

re-former's Introduction

Ruby Rails

re-former

A rails project built with form-model focusing on forms, input validations at the Model Level shown in the view and CRUD functions to come up with a simple app for users to Create, Read, Update and Delete users.

Built With

  • Ruby, Rails 6

Prerequisites

  • A computer with ruby and rails 6 installed.

set up

  • Follow these instructions to get a local copy up and running
git clone https://github.com/KabohaJeanMark/re-former/
cd re-former
  • Install all the necessary gems
bundle install
  • Migrate the database
rails db:migrate

Run the project

  • Run the rails server
rails server
  • Input the following commands following the methods on the three models, User, Post, Comment
CRUD METHOD ROUTE Functionality
READ ALL http://127.0.0.1:3000/ Reads all users
READ ONE http://127.0.0.1:3000/users/<user.id> Reads a particular user showing the details. The show view
UPDATE http://127.0.0.1:3000/users/<user.id>/edit Edits and updates the user of that id. Accessed by edit button on show view
CREATE http://127.0.0.1:3000/users/new Creates a new user saving to the database if validation checks pass

Author

👤 Kaboha Jean Mark

🤝 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!

Acknowledgments

  • Hat tip to Microverse and the Odin project.

📝 License

This project is MIT licensed.

re-former's People

Contributors

kabohajeanmark avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.