Backend of VidyarthiDesk ERP Software. Built with Go and Fiber.
- Go 1.25
- Git
- PostgreSQL
Install the dependencies:
go mod tidymake up # Apply latest migrations
make down # Rollback to version 1
make up-by-one # Migrate DB up by 1
make down-by-one # Migrate DB down by 1make seedmake buildmake runCopy .env.example to .env and update as needed:
PORT=3000
JWT_SECRET=supersecret
GOOSE_DRIVER=postgres
GOOSE_DBSTRING=postgres://user:pass@localhost:5432/nttf?sslmode=disable
GOOSE_MIGRATION_DIR=./database/migrations- 🚀 Fast HTTP server with Fiber v3
- 🛑 Graceful shutdown on Ctrl+C (SIGINT / SIGTERM)
- 🔌 Middleware support (CORS included by default)
- 📂 Organized project structure with cmd/ and server/
- Fork the project
- Clone the fork
git clone https://github.com/<username>/nttf-erp-backend.git
- Add Upstream
git remote add upstream https://github.com/Keracode/vidyarthidesk-backend.git
- Create a new branch
git checkout -b feature
- Make your changes
- Commit your changes
git commit -am "Add new feature" - Update main
git checkout main git pull upstream main
- Rebase to main
git checkout feature git rebase main
- Push to the branch
git push origin feature
- Create a new Pull Request
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.