Skip to content

Hair Day βœ‚οΈ is a web app for scheduling haircuts. Built with pure JavaScript, Webpack, and JSON Server, it allows users to schedule, view, and cancel appointments. πŸ“… It uses Day.js for date manipulation and includes form validation for a smooth user experience. πŸ’»βœ¨

Notifications You must be signed in to change notification settings

rafaumeu/hairday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hair Day βœ‚οΈ

Version License Node.js

Description πŸ“–

Hair Day is a web application for scheduling haircuts. With a user-friendly interface, users can select the date, time, and enter the client's name to create a schedule. Additionally, it is possible to view existing schedules.

Technologies Used πŸ› οΈ

  • JavaScript: Primary programming language.
  • Webpack: For module bundling.
  • Babel: For transpiling modern JavaScript code.
  • JSON Server: To simulate a RESTful API.
  • Day.js: For date manipulation.

Features 🌟

  • Schedule haircuts.
  • View schedules by day.
  • Cancel existing schedules.

Project Structure πŸ“

hairday/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/      # Images and icons
β”‚   β”œβ”€β”€ modules/     # Feature modules
β”‚   β”œβ”€β”€ services/    # API services
β”‚   └── styles/      # CSS styles
β”œβ”€β”€ index.html       # Main page
β”œβ”€β”€ package.json     # Dependencies and scripts
└── server.json      # Simulated API data

Available Scripts πŸƒβ€β™‚οΈ

  • npm run build: Compiles the project for production.
  • npm run dev: Starts the development server.
  • npm run server: Starts the JSON Server to simulate the API.

Learnings πŸ“š

During the development of this project, I learned:

  • How to use Webpack to bundle and optimize resources.
  • The importance of Babel to ensure compatibility with older browsers.
  • How to manipulate dates efficiently with the Day.js library.
  • Creating a simple RESTful API using JSON Server to simulate interactions with a database.
  • Implementing forms and validations in JavaScript to improve the user experience.

Contributions 🀝

Contributions are welcome! Feel free to open issues or pull requests.

License πŸ“œ

This project is licensed under the ISC License. See the LICENSE file for more details.

Contact πŸ“«

Developed by Rafael Dias Zendron. You can find me on LinkedIn or GitHub.

About

Hair Day βœ‚οΈ is a web app for scheduling haircuts. Built with pure JavaScript, Webpack, and JSON Server, it allows users to schedule, view, and cancel appointments. πŸ“… It uses Day.js for date manipulation and includes form validation for a smooth user experience. πŸ’»βœ¨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published