- 📖 About the Project
- 💻 Getting Started
- 👥 Author
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- 📝 License
This was a take-home interview project for a company. It was timboxed to 4 hours.
Ask:
- "Prototype a web application for scheduling an appointment"
Input:
- "Given a CSV dataset that contains the active coaches and their weekly schedule of their available hours, Output the following Client Stories:"
Output:
- As a Client, I want to see which coaches I can schedule with.
- As a Client, I want to see what 30 minute timeslots are available to schedule with a particular coach.
- As a Client, I want to book an appointment with a coach at one of their available times.
Anti-Requirements:
- You can't do it all. We respect your time, and expect that you will have to make choices and tradeoffs for what is in scope for y deliverable.
- Don't worry about authentication. Assume a non-authenticated experience to keep things simple.
- Pick your stack. Choose any libraries that help you produce the highest quality work in the time available.
Client
Server
Database
To get a local copy up and running, follow these steps.
In order to run this project you need:
Clone this repository to your desired folder:
using HTTPS:
git clone https://github.com/ElsonOtake/appointment-scheduler.git
cd appointment-scheduler
using an SSH key:
git clone git@github.com:ElsonOtake/appointment-scheduler.git
cd appointment-scheduler
using GitHub CLI:
git clone gh repo clone ElsonOtake/appointment-scheduler
cd appointment-scheduler
Install this project with:
bundle install
rails db:create db:migrate db:seed
To run the project, execute the following command:
rails server
Open http://localhost:3000/
on your browser.
To run tests, run the following command:
rspec
Docker must be installed and running on your local machine.
To build the Docker image, run the following command:
docker build -t rubyapp .
To run the created docker image, run the following command:
docker-compose up
In another terminal run the following command:
docker-compose run app rails db:create db:migrate db:seed
Open http://localhost:3000/
on your browser.
👤 Elson Otake
- GitHub: elsonotake
- Twitter: @elsonotake
- LinkedIn: elsonotake
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
I would like to thank:
This project is MIT licensed.