run following command:
go run cmd/main.goif Server starting on 8080 then you successfully to run the server.
create an .env file
touch .env
echo -e 'DATABASE_URL=postgresql://username:password@localhost:5432/your_database_name\ADMIN_PASSWORD=12345678' > .envrun following command:
go run cmd/seed/seed.gothis repo have middleware for checking the request
add this X-API-KEY: Hello world to headers