- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ
- 📝 License
A site lets user create events private or public, and attend events. An event can be attended by many users, and take place at specific location, date and time. All pages are real time updated and all uses are notified thanks to noticed and hotrails gems. Tried to use as much association case in the database as possible to push active record to its peak. Used sass, Bootstrap and stimulus for styling and responsiveness all embedded in webpack.
- Ruby on Rails (RoR)
- [Delploy on render] - realtime updates and notifications
- [Improve security] - Responsive
To get a local copy up and running, follow these steps.
- A web browser like Google Chrome.
- A nodeJS and yarn.
- A code editor like Visual Studio Code with Git, Ruby and redis.
You can check if Git is installed by running the following command in the terminal.
$ git --version
Likewise for Ruby installation (on UBUNTU and MAC PC's or windows only)
$ ruby --version && irb
Finally you can check if redis installed by this command.
redis-server --version
In the terminal, go to your file directory and run this command.
$ git clone https://github.com/melashu/hotel-room-reservation.git
$ gem install bundler
$ bundle install
$ rails db:create db:migrate
To install rspec, in the terminal kindly run this command
$ gem install rspec
To run tests, please run this command
$ rspec ./spec/#{filename}_spec.rb
If its your first time to run the app run this command
$ bin/setup
The app is using redis so first run the redis server
$ redis-server
To run the app you need to run this command in the terminal
$ bin/div
To run the project, execute the following command:
` $ rails server`
To run tests, run the following command:
$ rspec
👤 Mo'athal S. Kachi
- GitHub: @githubhandle
- LinkedIn: LinkedIn
- [Delploy on heroku] - Delploy on heroku
- [Improve security] - Improve security
- [ Add testes ] - Add testes
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give as a star! ⭐️
- Microverse
- Coding Partners
- Code Reviewers
-
[How I can run this project?]
- [After cloning repository, run bin/setup then in another terminal redis-server and finally bin/dev.]
This project is MIT licensed.