- π About the Project
- π» Getting Started
- π₯ Authors
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- π License
travellers_hub_back-end is a travel booking app where the user can register new accounts, login and book a set of different trip packages, users can add packages and delete them too. It is built and connected by using two different repos, including back-end(Rails) and front-end(React/Redux).
- You can find the front-end repository here.
- You can find the link to the Kanban board here
- Here is the link to the initial Kanban board.
- A team of four collaborated in creating this web application.
Client
- HTML, CSS
- JavaScript
Server
- Ruby on Rails
Database
- User can register new accounts and login
- User can book a set of different trip packages
- User can add packages and delete them too
- Ruby
- Ruby on Rails
- PostgreSQL
- any code editor
To setup the project follow the steps:
-
Clone this project using Git Bash:
git clone https://github.com/yonas44/travelers_hub_back-end.git
-
Inside the project directory, install the project's dependencies
bundle install
-
Create the app's database
rails db:create
-
Setup the app's database
rails db:setup
-
Setup the credentials on your local project following:
- Run:
rake secret
- Open the credentials file from the command line.
EDITOR=nano rails credentials:edit
And paste in the following, with the key generated from running the rake secret above.
devise:
jwt_secret_key: <rake secret key>
ctrl+x, then y, then enter to close and save if youβre using the nano editor.
- To use the API documentation for the back-end end points, use this path to see the documentation after starting the back-end server:
http://localhost:3000/api-docs/index.html
In the project directory, you can run:
-
rails server
Runs the app local server
-
bundle exec rspec
Launches the test runner.
π€ Oti Ifeanyi
- GitHub: @ifeanyi305
- Twitter: @ifeanyi305
- LinkedIn: oti joseph
π€ Selma Hamutenya
- GitHub: @SelmaNdapanda
- Twitter: @SellohBlaq
- LinkedIn: selma-hamutenya
π€ Yonas Tesfu
- GitHub: @yonas44
- LinkedIn: Yonas Tesfu
π€ Ben SalΓ¨s
- GitHub: @adebsa2401
- Twitter: @Adebsa3
- LinkedIn: adebsa
- GitHub: Ney2
- Twitter: @GutaKidist
- Linkedin: Kidist Dinku
- Add payment methods
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give it a star!
- Microverse β€οΈ
- Murat Korkmaz on Behance the author of the original design
This project is MIT licensed.