phiratio / bms-2

Salon Management Solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beauty Salon Management Solution

Build Status

This is a beauty salon management solution built using React.js and Node.js.

Features

  • Add and manage appointments
    • Send Appointment notifications to clients
    • Send Slack notifications to employees
    • Verify client mobile phones using Firebase
  • Booking frontend for clients
    • Add and manage appointments
  • Digital Queue for walk-in clients
  • Staff management
    • Ability to manage staff queue using Flic.io buttons
  • Client management
  • Role based access control
  • Real-time notification system of customer arrival
  • YouTube video player using YouTube API

Development

Step 0

Clone this repository

git clone git@github.com:blz-ea/bms.git

Step 1

Modify .env.default or add you configuration to .env.development

Step 2

yarn init:all

Step 3: Start development environment

yarn dev

or start each component separately

yarn dev:admin
yarn dev:booking
yarn dev:backend

Step 4: Access WEB UI

Type URL Login Password
Booking Frontend localhost:3005
Dashboard localhost:3000 admin@demo.org demodemo
- as admin localhost:3000 admin@demo.org demodemo
- as employee localhost:3000 employee@demo.org demodemo
API Dashboard localhost:3010/admin demo@demo.org Demodemo123

Deployment

  • Full Terraform deployment example can be found in terraform folder
  • Example of deploying using docker compose
    • If necessary add entries to .env.production
    • yarn run production:docker:build - build frontend and backend
    • yarn run production:docker:compose:up - create images and start containers
    • yarn run production:docker:compose:down - destroy all containers

Testing

Create .env.test as showed in .env.test.default

Frontend

Start the environment

yarn test:infra

Run test suites

yarn test:frontend

Backend

Note: Requires running MongoDB and Redis

yarn test:backend

TODO

  • Refactor
  • Add Ability to manage services and inventory in UI
  • Add Tests
  • Finish with translation

About

Salon Management Solution


Languages

Language:JavaScript 51.3%Language:CSS 22.8%Language:Java 17.0%Language:Objective-C 5.2%Language:TypeScript 0.7%Language:SCSS 0.7%Language:HCL 0.7%Language:Less 0.7%Language:Batchfile 0.5%Language:HTML 0.5%Language:Dockerfile 0.0%