Skip to content

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

Notifications You must be signed in to change notification settings

jvitoralb/salon-scheduler-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages