About • Using the developement • Live Doc interaction • Usin the documentation • Dependencys
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
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.
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.
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)
- Time tracker - Time management app build with ruby on rails
- Wild Escape - 2D game build with phaser.io ( JavaScript)
If you want to contribute to this project, Fork this repo, add your feature and open pull request. You're welcome
MIT
GitHub @certilremy · Twitter @certilremy
If you learn someting in this project or you like it give it a start!