Blog-App
The Blog app is a classic example of a blog website. It's a functional website that shows the list of posts and empower readers to interact with them by adding comments and liking post.
Built With
- Major languages (Ruby)
- Framworks (Ruby on Rails)
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
- A text editor(preferably Visual Studio Code)
Install
- Ruby
- Ruby on Rails
- PostgresSQL
- Rspec
Using it Locally
- Clone the project
Setup
Install gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
Usage
Start server with:
rails server
Visit http://localhost:3000/ in your browser.
Run tests
Install npm with:
npm i
Install rspec with:
bundle install
and
rails generate rspec:install
run the test with:
rspec spec
Open API documentation
rails server
Visit http://localhost:3000/api-docs in your browser.
Visit And Open Files
Download Repo
Authors
👤 Ranjeet Singh
- GitHub: @thecodechaser
- Twitter: @thecodechaser
- LinkedIn: thecodechaser
🤝 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
- Inspiration: Microverse
📝 License
This project is MIT licensed.