This is a test CRED Restful API using Go Language with gin framework and gorm ORM.
Before running the server, make make sure to run the migrations. This can be achieved bu running the command:
go run migrate/migrate.goThe migrate command is run every time you make a modification to the tables/schema.
To run the server, open the terminal and run:
go run main.goThis project makes use of CompileDaemon to automatically recompile the code when changes are detected. To run the server with CompileDaemon, use the following command:
CompileDaemon -command="./crud-rest"