Scotch
About The Project
This project aims to develop and combine various Golang libraries in order to create starter project for creating RESTful APIs in golang.
Getting Started
Prerequisites
To start a project with a docker you would require docker. In order to start project manually, go >= 1.20 is needed.
Installation with docker (recommended)
- Clone the repo:
git clone git@github.com:0xC0000409/scotch.git
- Create
.env file in the project root and copy the contents of .env.example into it.
- Start the project:
docker compose up
Manual installation
- Clone the repo:
git clone git@github.com:0xC0000409/scotch.git
- Create
.env file in the project root and copy the contents of .env.example into it.
- Install air:
go install github.com/cosmtrek/air@latest
- Install project dependencies:
go get .
- Start the project with air:
air
Roadmap
- Add readme
- Add license
- Add permission schema
- Add websocket routing
- Add i18n support
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature)
- Commit your Changes (
git commit -m 'Add some AmazingFeature')
- Push to the Branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt for more information.
Acknowledgments
(back to top)