Giter VIP home page Giter VIP logo

barber-shop's Introduction

React Barbershop App with Sinatra Backend

Welcome to the React Barbershop app! This app allows customers to book appointments for various barbershop services.

Features

The app has the following features:

Customers can view the available services offered by the barbershop Customers can book appointments for their desired service and time Customers can view their booked appointments Barbershop staff can view and manage customer appointments

Technologies Used

The app uses the following technologies:

React for the frontend Sinatra for the backend SQLite for the database

Installation

To install the app, follow these steps:

  1. Clone the repository to your local machine

  2. Navigate to the frontend directory and run npm install to install the frontend dependencies

  3. Navigate to the backend directory and run bundle install to install the backend dependencies

  4. Run rake db:migrate to create the database tables

  5. Run rake db:seed to seed the database with sample data (optional)

  6. Run rackup to start the Sinatra server

  7. In a separate terminal, navigate to the frontend directory and run npm start to start the React app

Usage

To use the app, open a web browser and navigate to http://localhost:9292. The app should load and you should be able to view the available services and book appointments. And also navigate to http://localhost:5000 to watch json server

Contributing

If you would like to contribute to the app, please follow these steps:

  1. Fork the repository
  2. Create a new branch for your changes
  3. Make your changes and commit them with a descriptive commit message
  4. Push your changes to your fork
  5. Create a pull request to the main branch of the original repository

Credits

This app was created by John Vundi. If you have any questions or feedback, please contact [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.