This is a Rails API app that is consumed by the Microvago web app to reserve hotel rooms all around the globe
To view the Kanban Board we built for this project please click here.
To view the issue with the Kanban Board screenshots please click here.
There were 5 contributors to this project, you can see their contact information in the Authors section of this document.
- Ruby on Rails
- Rubocop
- Heroku
- JWT
- RSpec
- Rswag
- PostgreSQL
- Install Ruby based on your OS from HERE
- Clone the project using git-bash or Githup Desktop.
git clone https://github.com/ShadyShawkat/Final-Capstone-rails-backend.git
OR
git clone [email protected]:ShadyShawkat/Final-Capstone-rails-backend.git
- Open the project folder with VSCode or any Editor.
- Open terminal and navigate to the project folder.
- Make sure that your PostgreSQL server is running and you have the ability to establish connection with the database.
- Create a new file called
local_env.yml
in the folderconfig/
and paste the following code in it:
PG_USERNAME: "YourPostgresUsername"
PG_PASSWORD: "YourPostgresPassword"
GMAIL_USERNAME: "YourGmailSenderUsername"
GMAIL_PASS: "YourGmailSenderPassword"
Note:
You can use your own gmail account to send emails but first you have to configure 2-Step Authorization and after that you have to configure an APP Password for this specific application. If you want more information about this, GOOGLE IT.
- Execute
rails db:create
to create the database. - Execute
rails db:migrate
to migrate the database. - Execute
rails db:seed
to migrate the database. - Run
gem install
,bundle install
andnpm install
to install all of the project's required dependencies. - Run
rails s
to start the project's live server and take a look at the terminal to see the URL address it is running on. - If you want to run some unit tests, all you need to do is run the
rspec
command on your terminal after installingrspec-rails
- Click here to see the documentation of our rails API.
To make requests to this API please click here and follow the API documentation.
👤 Luis Abarca
- GitHub: TheLuisAbarca
- Twitter: @TheLuisAbarca
- LinkedIn: Luis Anghelo Abarca Villacis
👤 Mihreteab Misganaw
- GitHub: Mre55
- Twitter: @MreMisganaw
- LinkedIn: Mihreteab Aride
👤 Omar Muhammad
- GitHub: Omar-Muhamad
- Twitter: @Eng_OmarMuhamad
- LinkedIn: @eng-omarmuhammad
👤 Shady Shawkat
- GitHub: ShadyShawkat
- Twitter: @ShadyShawkat3
- LinkedIn: Shady Shawkat
👤 Santiago Velosa
- GitHub: vechicin
- Twitter: @therealvelosa
- LinkedIn: Santiago Velosa
Give a ⭐️ if you like this project!
This project is MIT licensed.