1Backend is a platform designed to make deploying, running and maintaining lambda functions/microservices easy.
It enables you to launch a new live app in seconds - after choosing your tech stack (e.g. Go with access to an SQL database) you get an empty app which is already live and callable from the outside (through HTTP).
You just have to plug in your own code (no, you don't have to write code in the browser). It's even pre-connected to your database and other infrastructure elements of your choosing.
With the help of a simple DSL, you can even define language-agnostic types and APIs for your services, which are used to generate type-safe clients. These clients are then published on each language's package manager (e.g. NPM).
You can find the documentation here.
It's very early.
Angular 2, Go, MySQL, Redis.
In the project root:
shnpm installng serve
sudo docker run --name some-mysql -e MYSQLROOTPASSWORD=root -p=3306:3306 -d mysql
sudo apt-get -y install mysql-clientmysql -h localhost -P 3306 --protocol=tcp -u root -proot < all.sql
sudo docker run --name some-redis -p=6379:6379 -v /var/redis:/data -d redis redis-server --appendonly yes
rm main; go build main.go; sudo ./main```
The server loads configuration from the location
/var/1backend-config.json.Details of the config parameters arehere.
Given services and endpoints have type information saved with them (can be setin the UI of each service), we generate client APIs for each service in a numberof languages.
To do this we need integration with GitHub.
To get the GitHub integration working, you need two things:
ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org"; eval "$(ssh-agent -s)"; ssh-add ~/.ssh/id_rsa).This user must be the one who runs the server - likely root, since root isneeded to access docker, unless you configure your machine otherwise.
git clone 1backend-1backend_-_2018-01-16_14-54-30.bundle