Stay A While Backend holds the BackEnd development source rails api of an app that allows users to reserve an apartment or home.
Server
Database
We are a team of four members Asha , Emmanuella ,Samuel and Rohit
Initial Kanban Board Status
- JWT Authorization upon login and register
- Create Home Stays and Reservations
- Rspec Unit testing
To get a local copy up and running, follow these steps.
In order to run this project you need:
- To install ruby on your PC. You can read this documentation on how to do so
- To install postgresql on your PC. You can read this documentation on how to do so
- Know how to navigate directories or folders at the CLI.
- Know how to get the URL(https/ssh) of a repository on GitHub.
- You should have a code editor installed, preferably VSCode
- In order to run this project you need:
In desired folder or directory in the CLI, run the command:
git clone git@github.com:asharanjith/stay-a-while-back-end.git
Navigate into the cloned folder or repository by running the command:
cd stay-a-while-back-end
If VsCode is your default code editor, run:
code .
You are all set up!
Install this project with:
bundle install
To setup the database, run
rails db:drop db:create db:migrate db:seed
To add the master.key and add key value pair for jwt secret key, follow the following
- Please delete config/credentials.yml.enc & config/master.key and run the bellow lin in command prompt
- Run below command (run only in vs code)
EDITOR=code rails credentials:edit
- Run below command
EDITOR="code --wait" bin/rails credentials:edit
To run the project, execute the following command:
ruby bin/rails server
You can deploy this project using:
http://[::1]:3000
or
http://127.0.0.1:3000
or
localhost:3000
To run tests, run the following command:
rspec spec
- The file database.yml is already configured to use those variables
π€ Asha S Vijayan
- GitHub: @asharanjith
- Twitter: @asha_cep
- LinkedIn: asha-vijayan
π€ Emmanuella Adu
- GitHub: @elarhadu
- Twitter: @elarh_
- LinkedIn: Emmanuella Adu
π€ Samuel Kyere
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
π€ Rohit Bhatt
- GitHub: @rbhatt1999
- Twitter: @RohitBhatt
- LinkedIn: Rohit Bhatt
- Payment integration
- Messaging system
- Reviews and ratings
- Social media integration such as Facebook, Twitter, and Instagram to enable users to share their experiences and promote the properties they have stayed in.
- Integration with third-party services such as Google Maps to provide location-based information and directions to properties.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give us a β
We would like to thank Microverse for this project inspiration.
This project is MIT licensed.