https://github.com/jefferson1104/the-barber
The Barber is a marketplace designed to connect clients with barbershops.
https://github.com/jefferson1104/the-barber
postgresql prisma radix-ui react react-hook-form reactjs tailwind tailwindcss
Last synced: 2 months ago
JSON representation
The Barber is a marketplace designed to connect clients with barbershops.
- Host: GitHub
- URL: https://github.com/jefferson1104/the-barber
- Owner: jefferson1104
- Created: 2024-08-04T03:26:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T20:00:41.000Z (almost 2 years ago)
- Last Synced: 2025-03-01T00:12:32.707Z (over 1 year ago)
- Topics: postgresql, prisma, radix-ui, react, react-hook-form, reactjs, tailwind, tailwindcss
- Language: TypeScript
- Homepage: https://the-barber-soaresdev.vercel.app
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## :memo: About project
**The Barber** is a marketplace designed to connect clients with barbershops. The app allows users to:
- Find barbershops and conveniently book services.
- Explore barbershops based on location and service type.
- View a list of their upcoming and past appointments.
- Check barbershop addresses and search by name or service type.
## ⚡ Technologies Used
- **Next.js**: React framework for building modern, dynamic user interfaces.
- **Prisma**: ORM for data modeling and management, making it easy to create and consume data.
- **PostgreSQL**: Relational database used to store barbershop, service, and appointment data.
This is a project in its initial phase, with significant potential for future enhancements. Several functionalities have already been implemented, with more to come.
Feel free to adjust it if necessary!

## :cyclone: Run this project
**Before starting, check the `.env.example` file and add your Google authentication keys. Then, create a database, preferably using PostgreSQL, and insert the connection string into the file. After completing these steps, you can run a seed to populate the database with mock data, if desired.**
```bash
# clone this repository
git clone https://github.com/jefferson1104/the-barber.git
# go to the folder
cd the-barber
# environment file database, google, auth secret
create and connect your database (postgreSQL)
# install dependencies
$ npm install
# run seed.ts
npx prisma db seed
# run app in local
$ npm run dev
```