Skip to content

rahalrazika/rails-api

Repository files navigation

Loop Api

This is Rest API built with Ruby on Rails.it’s purpose is a backend for a frontend app.

Built With 🔨

  • Ruby v3.0.1
  • Ruby on Rails 6.1.4
  • Postgres

Features

  • Rubocop
  • Rspec
  • Capybara
  • Stylelint

Live Demo 🚀

Loop

Getting Started 💻

Installation

To get a local copy of the repository please run the following commands on your terminal:

$ cd <folder>
$ git clone git@github.com:rahalrazika/rails-api.git
$ bundle install
rails db:create

$ rake db:migrate

Testing

Below shows the following commands you will need to run tests:

Open terminal
$ bundle exec rspec

API ROUTES

ROUTES HTTP Verb Description
/users POST Create a new user
/login POST Login page
/auto_login GET Show current user
/favourites GET Show all the favourites
/favourites POST create a new favourite
/favourites/:id DELETE Delete favourite
/partnerships GET Show all the partnerships
/partnerships POST Create a new partnership
/partnerships/:id DELETE Delete partnership
/projects GET Show all the projects
/projects/:id GET Show a project details

Author

👤 Razika Rahal

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published