Table of Contents
Rasmga Ol API is a RESTful API built with Ruby on Rails. It is a backend for a social media application that allows users to create posts, reels, like, comment, and follow other users. The API is built with a modular structure and is easy to understand and use. It is also well documented and has a list of all the available endpoints and their descriptions.
To get a local copy up and running follow these simple steps.
- bundle
gem install bundler
- ruby
rvm install ruby-3.1.3
- rails
gem install rails -v 7.0.4
- postgresql
brew install postgresql
- Clone the repo
git clone https://github.com/Rustamxon7/rasmga-ol-api.git
- Install gems
bundle install
- Create database
rails db:create
- Migrate database
rails db:migrate
- Run server
rails s
- Open your browser and go to
http://localhost:3000
By opening the project in your browser, you can see the list of all the available endpoints and their descriptions. The REST API is located at http://localhost:3000/api/v1/
and you can view the list of all the available routes by visiting http://localhost:3000/api/v1/routes
- Login and Registration
- User Registration
- User Login
- User Logout
- User
- User Profile
- User Info
- User Posts
- User Edit
- User Follow
- User Unfollow
- Posts
- Create Post
- Delete Post
- Like Post
- Comment Post
- Reels
- Create Reel
- Delete Reel
- Like Reel
- Comment Reel
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Instagram - @rustamtolipov_
Gmail - rustamxontolipov788@gmail.com
Project Link: https://github.com/Rustamxon7/rasmga-ol-api