Skip to content

✂eBarber Web: Join as a client or a barber! If you are a client pick your favorite barber and schedule an available appointment. If you are a barber disclose your available times.

Notifications You must be signed in to change notification settings

stevescruz/ebarber_web

Repository files navigation


eBarber Web

The eBarber web page allows you to join as a client or a barber! If you are a client pick your favorite barber and schedule an available appointment. If you are a barber disclose your available times.

Check out the Figma Layout here!

Goal   |    Requirements   |    Technologies   |    How To Use   |    License

Figma Layout Sign In & Sign Out Pages Transition Sign In Page Focus & Tooltips Sign In Page Toast Notification

Goal

The goal is to create a full project using TypeScript, Node.js, ReactJS, and React Native from start to finish, fulfilling all possible steps: preparing the development environment with Docker, configuring tools that help maintain code quality (EditorConfig, ESLint and Prettier) to testing with Jest, deploying, and all the coding in between.

eBarber web is a web application that can consume the eBarber API to provide its services.

NOTE: Check the eBarber API here.

Requirements:

  • Project structure
    • Boilerplate with Create React App
    • Prepare EditorConfig
    • Configure ESLint
    • Set up Prettier
  • Global Styles and Components
    • Styled Components library
    • Global Styles Component
    • Input Component
    • Button Component
  • Sign In Page
    • React-Icons library
    • Polished library
    • Validate Sign In
  • Sign Up Page
    • Managing the Form with Unform library
    • Input Usability with visual cues (On Focus)
    • Validating the Form with Yup library
    • Displaying Input errors
    • Sign Up Request to the Back-end with Axios
  • Authentication
    • Enable API access with CORS
    • Sign In with Context API & useAuth custom hook
    • Store User information and Token (JWT) with Local Storage
    • Sign Out with Context API
  • Toast Notifications
    • Toast Notifications structure
    • useToast custom hook
    • Add and Remove Toast
    • Animating Toast
  • Application Routes
    • Configure Routes with React Router V4
    • Authenticated Routes
  • More steps coming soon...

Technologies

This project was developed with the following technologies:

How To Use

To clone and run this application, you need Git, ReactJS 16.13.1 (or higher), and Yarn v1.13 (or higher) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/stevescruz/ebarber_web.git

# Go into the repository
$ cd ebarber_web

# Install dependencies
$ yarn install

# Run the app
$ yarn start

📝 License

This project is under the MIT license.


Get in touch with me!

About

✂eBarber Web: Join as a client or a barber! If you are a client pick your favorite barber and schedule an available appointment. If you are a barber disclose your available times.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published