Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jvitoralb/salon-scheduler-app

An interactive Bash program that uses PostgreSQL to track the customers and appointments.
https://github.com/jvitoralb/salon-scheduler-app

Last synced: about 1 month ago
JSON representation

An interactive Bash program that uses PostgreSQL to track the customers and appointments.

Awesome Lists containing this project

README

        

# Salon Scheduler App

### This is a Bash program that simulates a Salon Scheduler App.

This app simulates a Salon Scheduler app with basic operations. Here you can schedule a Service and see all appointments for each customer.

It was built using only Shell and PostgreSQL 14.

As the app starts, it looks for a psql connection under the `PSQL` variable - `src/salon.sh` `Ln 3` and searches for a database named `salon`. In case the database doesn't exist, one is created. Then the program starts.


Image shows a menu with the options: 1 - Services, 2 - My Appointments, 3 - Exit

`1 - Services` Displays all available services


Image shows a menu with the options: 1 - Cut, 2 - Style, 3 - Massage

After selecting option `1`, the program asks for a phone number, which is how the app validates the user. If the number is not in the database, it also asks for the customer's name so it can be registered.

`2 - My Appointments` Displays a customer's appointments

After selecting option `2`, the program asks for a phone number to be able to look in the database for all appointments under the given user.

This was a really fun project to work on and I definally could learn a lot from it. This project was done to complete the Relational Database course on freeCodeCamp.