[Blog app] Now it's time to set up our models to create the Blog app. To start with, we have tables for Users, Posts, Comments, and Likes, which means we need a model for each one. It 've been given already set the foreign key in the table schema based on schema I create the model app.
Client
Server
Database
- [add users to as client]
- [Add Database to store the whole data]
- [Add comments, likes and posts feature]
To get a local copy up and running, follow these steps.
In order to run this project you need:
install sudo apt-get install ruby-full
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/brhanuhailu/blog-app.git
Install this project with:
cd project
bundle install
rails new ProgjectName --database= postgresql
To run server on brower the project, execute the following command:
rails s
To run Linter tests, run the following command:
rubocop
To run unit tests, run the following command:
Rspec
Not applicable.
👤 Brhanu Hailu
- GitHub: @brhanuhailu
- Twitter: @tigrayfurtune
- LinkedIn: LinkedIn
👤 AmenMusingarimi
- GitHub: @githubhandle
- LinkedIn LinkedIn
- [Add Model]
- [Add Controller]
- [Add View]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give a ⭐️ and I are so excited to accept you feedback to improve our profession.
i would like to thank Microverse
This project is MIT licensed.