/appointment-scheduler

Exercise for take-home activity. Application to schedule a thirty-minute time with a coach in an available schedule.

Primary LanguageRuby

📗 Table of Contents

📖 Appointment Scheduler

Take-home source

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.

🛠 Built With

Tech Stack

Client
Server
Database

🚀 Live Demo

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Ruby

Setup

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

Install this project with:

  bundle install
  rails db:create db:migrate db:seed

Usage

To run the project, execute the following command:

  rails server

Open http://localhost:3000/ on your browser.

Run tests

To run tests, run the following command:

  rspec

Docker

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.

👥 Author

👤 Elson Otake

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

🙏 Acknowledgments

I would like to thank:

(back to top)

📝 License

This project is MIT licensed.

(back to top)