- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ
- 📝 License
This is an App which allows you to show the list of posts and empower readers to interact with them by adding comments and liking posts.
Database
- It contains four tables with a relation one to many
- It allows to create user and post
- It allows to comment and like a post
- Add authentication with gem devise
- Add autorization using Cancan -Implement APIs
- Not available yet
To get a local copy up and running, follow these steps.
In order to run this project you need:
gem install ruby
gem install rails
sudo apt-get install postgresql postgresql-contrib
Clone this repository to your desired folder:
cd my-folder
git clone git@github.com:IngDavidTM/blog-app.git
Install this project with:
cd blog-app
bundle install
Add the username and password that you are using in psql to config/database.yml
Create and migrate the database with:
rails db:create
rails db:migrate
To run the project, execute the following command:
rails server
To run tests, add this data to your database:
For users
For posts
For likes
For comments
Then, run the following command:
rspec
👤 David Tamayo
- GitHub: @IngDavidTM
- Twitter: @David5TM
- LinkedIn: LinkedIn
👤 Cesar Alberto Valencia Aguilar
- GitHub: @cvalencia1991
- Twitter: @cvalenciaguilar
- LinkedIn: @cvalencia1991
- Add style and improve UX
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, kindly give a start to support a greater and widespread reach
I would like to thank Microverse.
-
Do I need node installed?
- Yes you do
-
Do I need internet Access
- Not necessary
This project is MIT licensed.
NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.