Permalink
Browse files

updated the license

  • Loading branch information...
alash3al committed Jan 8, 2019
1 parent 9545303 commit f405a5bc68485901454ef91852b48b30fd37e864
Showing with 43 additions and 1 deletion.
  1. +22 −1 README.md
  2. +3 −0 context.go
  3. +3 −0 init.go
  4. +3 −0 main.go
  5. +3 −0 manager.go
  6. +3 −0 routes.go
  7. +3 −0 validate.go
  8. +3 −0 vars.go
@@ -2,6 +2,15 @@ SQLer
=====
> `SQL-er` is a tiny http server that applies the old `CGI` concept but for `SQL` queries, it enables you to an endpoint and assign a SQL query to be executed when anyone hits it, also it enables you to define validation rules so you can validate the request body/query params. `sqler` uses `nginx` style configuration language ([`HCL`](https://github.com/hashicorp/hcl)).
Features
========
- Standalone with no dependencies.
- Works with most of SQL databases out there including (`SQL Server`, `MYSQL`, `SQLITE`, `PostgreSQL`, `Cockroachdb`)
- Built-in Validators
- Built-in `sql escaper` function
- Uses ([`HCL`](https://github.com/hashicorp/hcl)) configuration language
- You can load multiple configuration files not just one, based on `unix glob` style pattern.

Configuration Overview
======================
```hcl
@@ -57,4 +66,16 @@ Supported SQL Engines
- `mysql`
- `postgresql`
- `cockroachdb`
- `mssql`
- `mssql`

Supported Validation Rules
==========================
- Simple Validations methods with no args: [here](https://godoc.org/github.com/asaskevich/govalidator#TagMap)
- Advanced Validations methods with args: [here](https://godoc.org/github.com/asaskevich/govalidator#ParamTagMap)

License
========
> Copyright 2018 The SQLer Authors. All rights reserved.
> Use of this source code is governed by a Apache 2.0
> license that can be found in the [LICENSE](/License) file.
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

// Context ...
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

import (
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

import (
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

import (
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

import (
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

import (
@@ -1,3 +1,6 @@
// Copyright 2018 The SQLer Authors. All rights reserved.
// Use of this source code is governed by a Apache 2.0
// license that can be found in the LICENSE file.
package main

import (

0 comments on commit f405a5b

Please sign in to comment.