Skip to content

API app build with Rails and JWT (Swagger for documentation)

Notifications You must be signed in to change notification settings

certilremy/dreamhouse-api

Repository files navigation


Markdownify
DREAM HOUSE API

Api project build with RUBY ON RAILS, and swagger for documentation

AboutUsing the developementLive Doc interactionUsin the documentationDependencys

screenshot

About

Dream house API , is a simple aplication where, user can see house and add them to favorite. Only admin can add edit and delete house. Live production of the API can be found here https://dreamhouse-swagger.herokuapp.com/api-docs/index.html

Developement

To run the app in your computer. Clone and run this application, you'll need Git and Rails installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/certilremy/dreamhouse-api.git

# Go into the repository
$ cd dreamhouse-api

# Install dependencies
$ bundle install

# Rub the migration
$ rails db:migrate

# Run the app
$ rails s

Note, to run the tests do not run bundle exec rspec spec

Run this

$ rake rswag:specs:swaggerize

This will run all the tests, If you make change to any file to the spec/integration folder , it will update the documentation.

Documentation

You can go there to test the live documentation interaction. As you can see in the video, you must be logged in. IF you do not have an account create one in the signup endpoint with the documentation.

Dependency

This API uses the following open source packages:

  • RSWAG (Documentation)
  • JWT (For token based authentication)
  • RSPEC (For testing)
  • Rack-cors (Cross origin post)
  • PG (Database)

You may also like...

  • Time tracker - Time management app build with ruby on rails
  • Wild Escape - 2D game build with phaser.io ( JavaScript)

Contribution

If you want to contribute to this project, Fork this repo, add your feature and open pull request. You're welcome

License

MIT


contact

GitHub @certilremy  ·  Twitter @certilremy

If you learn someting in this project or you like it give it a start!

About

API app build with Rails and JWT (Swagger for documentation)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages