/petbnb-back

PetBNB app is a platform that allows users to rent rooms for their pets, similar to AirBNB. Users can add rooms to their profile for other users to rent and can make reservations for their pets to stay in a room. Additionally, users can add and remove pets, as well as add and remove rooms.

Primary LanguageRubyMIT LicenseMIT

logo

PetBNB

📗 Table of Contents

📖 [PetBNB]

[PetBNB] is a platform that allows users to rent rooms for their pets, similar to AirBNB. Users can add rooms to their profile for other users to rent and can make reservations for their pets to stay in a room. Additionally, users can add and remove pets, as well as add and remove rooms.

🛠 Built With

  • Ruby on Rails
  • PostgreSQL
  • React
  • HTML
  • JavaScript
  • CSS

Tech Stack

Client
Server
Database
Back-end

Key Features

  • [Rent rooms for pets]
  • [Add rooms to profile for other users to rent]
  • [Add and remove pets]

(back to top)

🚀 Live Demo

  • Api documentation in this link

(back to top)

Kanba Board

  • Link to our kanban board here
  • Initial state of the Kanban boardimage
  • The project team had 4 members

💻 Getting Started

Prerequisites

In order to run this project you need:

  • Ruby and Rails installed in your machine.
  • You need to create a new master.key:
    1. Remove config/master.key and config/credentials. yml.enc
    2. Run in the terminal: EDITOR=code rails   credentials:edit
    3. This command will create a new master.key and  credentials.yml.enc if they do not exist.
    

Setup

Clone this repository to your desired folder:

Example commands:

  cd my-folder
  git https://github.com/Full-Stack-Capstone/petbnb-back.git

Install

Install this project with:

  cd my-project
  bundle install
  rails db:create
  rails db:migrate
  rails db:seed

Usage

To run the project, execute the following command:

  rails server

Run tests

To run tests, run the following command:

  rspec ./spec/routing
  rspec ./spec/models
  rspec ./spec/integration

(back to top)

👥 Authors

👤 Diego Garcia

👤 Erick Hans Martinez

👤 Tiago Lelinski Marin 🧑🏻‍💻

👤 Gabriel Andrade

(back to top)

🔭 Future Features

  • [Users can leave a rating to each room]
  • [Users can create a full personal profile]
  • [Users can upload more than one image]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project please leave a like on Github and share it with your friends.

(back to top)

🙏 Acknowledgments

I would like to thank Murat Korkmaz from Behance for the original design and layout of the app.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

ERD Diagram