In this project I create API endpoints that allow users to interact with Social app. The users must be authenticated first.
- Ruby: 2.5.0
- Rails: 5.2.4
- Postgres: >=12.11
-
Prerequisites
- Ruby: 2.5.0
- Rails: 5.2.4
- Postgres: >=12.11
To get a local copy up and running follow these simple example steps.
- Open Terminal.
- Navigate to your desired location to download the contents of this repository.
- Clone this repository:
git clone https://github.com/Qoosim/blog-api.git
- Run
cd blog-api
- Instal necessary gems with:
bundle install
- Setup database with:
rails db:create
rails db:migrate
- Navigate to the root directory of the project
- Run
rails server
- Open a browser and visit
`http://localhost:3000/` or 127.0.0.1:3000
- Sign in or sign up to create events!
- Run
rspec -f -d
- visit
http://localhost:3000/api-docs
If you have any issues setting up the project or you come across any unintended bugs or problems, please do submit an issue to the Blog-API page.
If you want to make your own changes, modifications or improvements to this project, go ahead and Fork it!
- Fork it
- Create your working branch (git checkout -b [choose-a-name])
- Commit your changes (git commit -am 'what this commit will fix/add/improve')
- Push to the branch (git push origin [chosen-name])
- Create a new Pull Request
Qoosim AbdulGhaniyy
- Github: @Qoosim
- Twitter: @qoosim_ayinde
- Linkedin: qoosim_abdulghaniyy
Give a โญ๏ธ if you like this project!