Back-end repository: https://github.com/nathakusuma/sea-salon-be
Front-end repository: https://github.com/nathakusuma/sea-salon-fe
Introducing SEA Salon, a distinguished name in the salon industry celebrated for its exceptional beauty services and stellar reviews. With a rapidly expanding clientele and a reputation for excellence, SEA Salon stands as the ultimate destination for all your beauty needs. Offering a comprehensive range of services, including haircuts and styling, manicures and pedicures, and facial treatments, the salon ensures a top-notch experience for every client. Featuring a user-friendly application, SEA Salon allows users to effortlessly explore services, choose their favorite stylists, and book appointments with ease. Embrace beauty and elegance redefined at SEA Salon, where your satisfaction is the priority.
Click the link below to access the website:
https://seasalon.nathakusuma.com
- React.js
- Bootstrap
- Golang
- PostgreSQL
- Fiber
- GORM
- Google Cloud Storage
- Make sure you have Go version 1.22 or later
- Clone the github repository:
$ git clone https://github.com/nathakusuma/sea-salon-be.git
$ cd sea-salon-be
- Provide all the environment variables in
.envfile. See.env.example. - Download the packages:
$ go mod tidy
- Run the app:
$ go run cmd/app/main.go
This project uses Google Cloud Storage for storing assets. To run this website locally, you need to create a bucket. Make sure to not select/enable Prevent Public Access. After that, go to permissions tab and select Grant Access. Under Add Principals, type in allUsers and click Save. Finally, put the project id and bucket name in the environment variables.
Create a service account. Under Grant this service account access to project (optional), enter Storage Object Admin role. Click done. Then, select that service account, go to Keys tab, and click Add Key > Create new key > JSON. Convert the JSON file into one line of JSON and put it into the environment variable. If you're using .env file, then you need to escape reserved characters such as double quotes with backslash (example: " becomes \"). Make sure to escape the actual backslash (example: \n becomes \\n).
- Make sure you have Node.js version v22.3.0 or later.
- Clone the github repository:
$ git clone https://github.com/nathakusuma/sea-salon-fe.git
$ cd sea-salon-fe
-
Provide all the environment variables in
.envfile. See.env.example. Provide the backend URL as VITE_API_BASE_URL (example: http://localhost:8080/v1). -
Download the packages:
$ npm install
- Run the app:
$ npm run build
$ npm run preview