Welcome to the funStoreHub Golang API, powering the backend for your favorite club's sports center store. This API allows seamless interaction with the funStoreHub frontend, enabling users to create, display, edit, and delete products specific to their beloved team.
- Clone the API repository:
https://github.com/Njoxpy/FanHubStore-api
- Navigate to the project directory:
cd src
- Install Golang dependencies:
go get ./...
- Set up the database (follow instructions in
choose your favourite db
), personally I have chosen postGres. - Configure environment variables (check
.env
for reference). - Run the API server:
go run main.go
or you can use [CompileDaemon for automatic build]CompileDaemon -command="./FanHubStore-api"
I do encourage developers to contribute to the funStoreHub Golang API. Follow these steps to contribute:
- Fork the API repository.
- Create a new branch:
git checkout -b feature/new-feature
- Make your changes and commit:
git commit -m "Add new feature"
- Push to the branch:
git push origin feature/new-feature
- Create a pull request.
We appreciate your contribution to improving the funStoreHub Golang API. Please adhere to the following guidelines:
- Follow the code of conduct.
- Maintain code quality and consistency.
- Document any new features or changes thoroughly.
Feel free to contribute to resolving these issues or report new ones on our issue tracker. Together, let's enhance the funStoreHub Golang API for an even better shopping experience!