Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Social media website. The app authenticates users, authorizes access, and provides access to data using API. Build with Ruby on Rails and PostgreSQL.

Notifications You must be signed in to change notification settings

ElsonOtake/Blog_App

Repository files navigation

πŸ“— Table of Contents

πŸ“– Blog

Blog is a classic example of a blog website. That show the list of posts and empower readers to interact with them by adding comments and liking posts. This is the used data model.

πŸ›  Built With

Tech Stack

Client
Server
Database

Key Features

(back to top)

πŸš€ Live Demo

(back to top)

πŸ’» Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Ruby

Setup

Clone this repository to your desired folder:

using HTTPS:

 git clone https://github.com/ElsonOtake/Blog_App.git
 cd Blog_App

using an SSH key:

 git clone git@github.com:ElsonOtake/Blog_App.git
 cd Blog_App

using GitHub CLI:

 git clone gh repo clone ElsonOtake/Blog_App
 cd Blog_App

Install

Fill in the environment variables

 DATABASE_DEV_USERNAME=postgres_username
 DATABASE_DEV_PASSWORD=postgres_password
 GITHUB_ID=github_client_id
 GITHUB_SECRET=github_client_secret
 GOOGLE_ID=google_client_id
 GOOGLE_SECRET=google_secret_key

Install this project with:

 bundle install
 rails db:create db:migrate db:seed

Usage

To run the project, execute the following command:

 bin/dev

Open http://localhost:3000/ on your browser.

Run tests

To run tests, run the following command:

 bundle exec rspec spec/features
 bundle exec rspec spec/models
 bundle exec rspec spec/requests
 rails test test/models
 rails test test/controllers
 rails test test/integration
 rails test test/system

To generate the API documentation:

 bundle exec rake rswag

API documentation address.

(back to top)

πŸ‘₯ Authors

πŸ‘€ Elson Otake

πŸ‘€ JesΓΊs VΓ‘zquez

πŸ‘€ Addisu Haile

(back to top)

πŸ”­ Future Features

  • Add new features to API documentation

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

πŸ™ Acknowledgments

I would like to thank:

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

Social media website. The app authenticates users, authorizes access, and provides access to data using API. Build with Ruby on Rails and PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /