social media like instagram built on top of ruby on rails fullstack and postgresql as database, TBH ( It's an STW, a total shit that works)
Buggy Meter is a social media application similar to Instagram, built using Ruby on Rails with PostgreSQL as the database.
Buggy Meter is designed to offer a comprehensive social media experience, focusing on simplicity and essential features. Users can register, create profiles, post images, like, and comment on posts. The application emphasizes a streamlined user interface and robust backend support.
The Buggy Meter application follows a typical MVC (Model-View-Controller) architecture of Rails, ensuring a clean separation of concerns and scalable codebase. PostgreSQL is used for data persistence, leveraging its reliability and performance.
Clone the repository:
git clone https://github.com/seamoonpandey/buggy-meter.git
cd buggy-meter
Install dependencies:
bundle install
yarn install
Set up environment variables:
Create a .env
file in the root directory and add the following:
DATABASE_USERNAME=your_postgres_username
DATABASE_PASSWORD=your_postgres_password
Update config/database.yml
with your PostgreSQL configuration.
Create and migrate the database:
rails db:create
rails db:migrate
Seed the database with initial data (if available):
rails db:seed
Start the Rails server:
rails server
Access the application at http://localhost:3000
.
Ensure you have Heroku CLI installed and are logged in.
Create a new Heroku app:
heroku create
Deploy to Heroku:
git push heroku main
heroku run rails db:migrate
Open the app in your browser:
heroku open
git checkout -b feature/your-feature
).git commit -m 'Add some feature'
).git push origin feature/your-feature
).