📗 Table of Contents
📖 RAILS BLOG APP
Rails Blog App is a simple blog application created with ruby on rails.
🛠 Built With
Tech Stack
Server
Database
Key Features
- Create User, Post, Comment and Likes table for the blog
- Save all information in postgres database
- Retrive information from the database
💻 Getting Started
To start and run this project
bundle install
ruby main.rb
To get a local copy up and running, follow these steps.
Prerequisites
- IDE / Editor
- Git
- PostgreSQL
Install & Setup
To setup and install this sample ROR Blog project, follow the below steps:
- Clone this project by the command:
$ git clone https://github.com/LIBERCOSOFT/blog-app.git
- Then switch to the project folder by the bellow query:
$ cd blog-app
- Install the required dependecies with
bundle install
- Install npm dependencies with
npm install
- Before running below commands update config/database.yml with your local
DB
credentials. Then run: -rails db:create
-rails db:migrate
-rails db:seed
- With Ruby on Rails and PostgreSQL installed in your environment, you can run
rails server
to run the website.
Tests
- Run
rails db:seed RAILS_ENV=test
to seed the testing database - Run
rspec
Deployment
N/A
👥 Authors
👤 Kolapo Precious Akinrinlola
- GitHub: LIBERCOSOFT
- Twitter: @Gerfieldt
- LinkedIn: Kolapo Akinrinlola
👤 Amine
- GitHub: @ouasamine
- Twitter: @ouass_amine
- LinkedIn: LinkedIn
🔭 Future Features
- Create a proper view for the project (Frontend)
- Implement API Endpoints
- Implement authentication and authorization
🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
⭐️ Show your support
If you like this project do not forget to start the repository.
📝 License
This project is MIT licensed.