A simple app that use a User, Post and Comments models to make a relation in the data base witch simulate Reddit.
- Git.
- Code editor.
- Ruby.
- Rails.
- Open the terminal.
- Enter
git clone https://github.com/Mesi21/Micro-reddit
. - Navigate to the cloned repository.
- Run the rails console by typing :
rails console
. - Use rails functions like
#find , #new, #save
to create objects and find relation between them.