mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 01:25:06 +01:00 
			
		
		
		
	
			
				
					
						
					
					279834902e0da06895521c7e4061fdae99cc24d4
				
			
			
		
	Run server
- The server expects the SQLite Job database in 
job.db. - Run 
go run server.go - The GraphQL backend is located at http://localhost:8080/query/ .
 
Debugging and Testing
There is a GraphQL PLayground for testing queries at http://localhost:8080/ .
Changing the GraphQL schema
- Edit 
./graph/schema.graphqls - Regenerate code: 
gqlgen generate - Implement callbacks in 
graph/schema.resolvers.go 
					Languages
				
				
								
								
									Go
								
								54.3%
							
						
							
								
								
									Svelte
								
								42.3%
							
						
							
								
								
									JavaScript
								
								2.6%
							
						
							
								
								
									Perl
								
								0.5%
							
						
							
								
								
									Makefile
								
								0.2%