/appointment_app

A real-time update Single-Page Application. The user can pick a date and book an appointment.

Primary LanguageJavaScript

📗 Table of Contents

📖 Appointment

A Single-Page Application where a user can pick a date and book an appointment.

🛠 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 Redis

Setup

Clone this repository to your desired folder:

using HTTPS:

  git clone https://github.com/ElsonOtake/appointment_app.git
  cd appointment_app

using an SSH key:

  git clone git@github.com:ElsonOtake/appointment_app.git
  cd appointment_app

using GitHub CLI:

  git clone gh repo clone ElsonOtake/appointment_app
  cd appointment_app

Install

Create a .env file:

  touch .env

Fill in your PostgreSQL credentials in the .env file:

DATABASE_USERNAME=<PostgreSQL username>
DATABASE_PASSWORD=<PostgreSQL password>

Install this project with:

  bundle install
  rails db:create db:migrate

Usage

To run the project, execute the following command:

  redis-server

In another terminal run

  rails server

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

Open the same address in another browser to check for real-time updates on the web page.

Run tests

To run tests, run the following command:

  rspec

👥 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)