This is a Next.js project bootstrapped with create-next-app
.
To get started with the project, follow these steps:
- Clone the repository:
git clone <repository-url> cd repository npm install npm run dev
SalonX is a beauty services management and booking platform that uses Next.js for the frontend and .NET for the backend. The backend project can be found at https://github.com/j-vinnal/Salon-X-API/. The live app is hosted on Azure at https://salonx-nextjs.azurewebsites.net/signin.
- Next.js - A React framework for server-side rendering and static site generation.
- Tailwind CSS - A utility-first CSS framework for rapid UI development.
- React Hook Forms - A simple and flexible form management library.
- Zod - A TypeScript-first schema declaration and validation library.
- Axios - A promise-based HTTP client for making API requests.
- JWT - JSON Web Tokens for secure authentication.
- Docker - For containerization and deployment.
/services
- API services are separated into their own directory.- Examples:
IdentityService
- Services for user authentication and authorization.BookingService
- Services for managing bookings.ClientService
- Services for managing clients.CompanyService
- Services for managing companies.ImageUploadService
- Services for uploading images.
- Examples:
Create the image:
docker build -t salonx-nextjs:latest .
Run the container
docker run -d -p 8080:80 salonx-nextjs:latest
Create the image:
docker buildx build --progress=plain -t salonx-nextjs:latest .
Create a tag:
docker tag salonx-nextjs <your-docker-hub-profile>/salonx-nextjs:latest
Push the image:
docker push <your-docker-hub-profile>/salonx-nextjs:latest
This project is created for personal practice and learning of Next.js. If you have any questions or suggestions, feel free to reach out!
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.