Go, Gin, Gorm, Postgresql, Docker
if you use Linux
or WSL
you can use a script.
- Make sure the script is executable:
chmod +x script.sh
- Then you can type:
you will get various information to carry out the project.
./script.sh -h
- You can run it using docker compose
- Run docker
docker compose up -d
- Stop docker
docker compose down
- Run docker
How to contribute?
-
Fork the Repository:
- Go to the repository page.
- Click on the "Fork" button in the top-right corner of the page.
- This will create a copy of the repository in your own GitHub account.
-
Clone Your Fork:
git clone https://github.com/yourusername/go-ngodeyuk-core-project.git cd go-ngodeyuk-core-project
-
Create a Branch:
git checkout -b your-feature-branch
-
Make Your Changes:
- Add your features or bug fixes.
- Ensure your code follows the project's coding standards.
-
Commit Your Changes:
git add . git commit -m "build: features(users) register service"
build
: used when you want to create something new.feat
: used when you want to add features to existing code.refactor
: used when you want to change existing code.fix
: used when you have successfully fixed a bug.docs
: used when you have written project documentation.
-
Create a Pull Request:
- Go to the original repository.
- Click on the
Pull Requests
tab. - Click on the
New Pull Request
button. - Select your feature branch from the "compare" dropdown.
- Click
Create Pull Request
and provide a description of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.