Code Monkey home page Code Monkey logo

dreamhouse-api's Introduction


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!

dreamhouse-api's People

Contributors

certilremy avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.