All Projects → 1backend → 1backend

1backend / 1backend

Licence: other
Run your web apps easily with a complete platform that you can install on any server. Build composable microservices and lambdas.

Programming Languages

go
31211 projects - #10 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
shell
77523 projects
Smarty
1635 projects

Projects that are alternatives of or similar to 1backend

Space Cloud
Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
Stars: ✭ 3,323 (+64.18%)
Mutual labels:  microservices, paas, mysql
Polluter
The easiest solution to seed database with Go
Stars: ✭ 146 (-92.79%)
Mutual labels:  mysql, redis
Sns Forum Website
牛客网高级项目(SNS+社区问答类网站)
Stars: ✭ 143 (-92.93%)
Mutual labels:  mysql, redis
Pychat
webchat via WebSockets/WebRTC that allows messaging/video call/screen sharing
Stars: ✭ 152 (-92.49%)
Mutual labels:  mysql, redis
Hippo
💨A well crafted go packages that help you build robust, reliable, maintainable microservices.
Stars: ✭ 134 (-93.38%)
Mutual labels:  microservices, redis
Coolstore Microservices
A full-stack .NET microservices build on Dapr and Tye
Stars: ✭ 1,903 (-5.98%)
Mutual labels:  microservices, redis
Algernon
🎩 Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support
Stars: ✭ 1,880 (-7.11%)
Mutual labels:  mysql, redis
Kubevela
The Modern Application Platform.
Stars: ✭ 2,984 (+47.43%)
Mutual labels:  microservices, paas
Spring Boot Vue Bank
我,请始皇[打钱]是一个前后端分离的工具人系统,项目采用 SpringBoot+Go+Vue 开发,项目加入常见的企业级应用所涉及到的技术点,例如 Redis、RabbitMQ 等(主要是多用用工具多踩踩坑)。
Stars: ✭ 157 (-92.24%)
Mutual labels:  mysql, redis
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (-2.03%)
Mutual labels:  mysql, redis
Netease Cloud Music Community
参照网易云音乐云村做的一个小程序社区,后端技术栈为Java,SpringBoot,MySQL,Redis,前端技术栈为uni-app。欢迎吐槽。
Stars: ✭ 157 (-92.24%)
Mutual labels:  mysql, redis
Echo
🦄 开源社区系统:基于 SpringBoot + MyBatis + MySQL + Redis + Kafka + Elasticsearch + Spring Security + ... 并提供详细的开发文档和配套教程。包含帖子、评论、私信、系统通知、点赞、关注、搜索、用户设置、数据统计等模块。
Stars: ✭ 129 (-93.63%)
Mutual labels:  mysql, redis
Roothub
使用 SSM 和 MySQL 开发的论坛系统
Stars: ✭ 131 (-93.53%)
Mutual labels:  mysql, redis
Bricks
A standard library for microservices.
Stars: ✭ 142 (-92.98%)
Mutual labels:  microservices, redis
Zhttp
基于swoole的异步轻量级web框架,内部封装协程异步非阻塞全套mysql、redis、mongo、memcached连接池,可以轻松start、reload、stop,加入数据库的查询模块,框架已经封装好近乎同步写法,底层异步调用
Stars: ✭ 131 (-93.53%)
Mutual labels:  mysql, redis
Meetingfilm
基于微服务架构的在线电影购票平台
Stars: ✭ 149 (-92.64%)
Mutual labels:  mysql, redis
Docker Compose
一些基础服务的docker-compose配置文件,方便在一台新电脑上快速开始工作
Stars: ✭ 163 (-91.95%)
Mutual labels:  mysql, redis
Dailyfresh
Django-天天生鲜电商学习项目
Stars: ✭ 127 (-93.73%)
Mutual labels:  mysql, redis
Db Tutorial
💾 db-tutorial 是一个数据库教程。
Stars: ✭ 128 (-93.68%)
Mutual labels:  mysql, redis
Modernarchitectureshop
The Microservices Online Shop is an application with a modern software architecture that is cleanly designed and based on.NET lightweight technologies. The shop has two build variations. The first variant is the classic Microservices Architectural Style. The second one is with Dapr. Dapr has a comprehensive infrastructure for building highly decoupled Microservices; for this reason, I am using Dapr to achieve the noble goal of building a highly scalable application with clean architecture and clean code.
Stars: ✭ 154 (-92.39%)
Mutual labels:  microservices, redis

1Backend circleci status go report go coverage

1Backend is a platform designed to make deploying, running and maintaining lambda functions/microservices easy.

1backend service screenshot

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).

Documentation

You can find the documentation here.

What's supported?

Languages

  • Go
  • JavaScript (Node.js)
  • TypeScript

Infrastructure

  • MySQL

Client library generation

  • Go
  • Angular: an NPM installable Angular service is generated and published on NPM if your service has type definitions.

What's the state of the project?

It's very early.

What's the tech used?

Angular 2, Go, MySQL, Redis.

What's happening?

For announcements please follow our twitter account.

How can I install it?

A simple one click/single command installation is coming soon, but in the mean time:

Frontend

If you have docker:

sudo docker run -p 4222:80 1backend/frontend

The above means on http://127.0.0.1:4222 you will have the 1backend app available, once the server is also running (see below).

Or if you want to hack on the Angular app:

npm install
npm start

Backend

You need two containers running on your box: a MySQL one and a Redis one. The 1backen flavoured MySQL one has the table schemas loaded into it (available in this file) already.

You can launch the complete sytem with 3 commands:

# Start mysql container. Comes with the database schema preloaded.
sudo docker run -e MYSQL_ROOT_PASSWORD=root -p=3306:3306 -d 1backend/mysql

# Start redis container.
sudo docker run -p=6379:6379 -d redis redis-server --appendonly yes

# Launch the 1backend server with the following command:
sudo docker run -e INTERNAL_IP=$(ip route get 8.8.8.8 | head -1 | cut -d' ' -f8) \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -p 8883:8883 1backend/server

The above does 3 things:

  • passes the host internal network ip as an envar to the container
  • mounts the docker socket

You can also mount a config file into the container under the path /var/1backend-config.json. We haven't talked about configuration, so let's do it now:

Configuration

The server container loads configuration from the location /var/1backend-config.json. Details of the config parameters are here.

A very basic and working example of such file would be:

{
   "SiteUrl": "http://127.0.0.1",
   "Path": "/go/src/github.com/1backend/1backend/backend",
}

This is the default config file if you don't mount a config file to run the 1backend server docker container.

Of course, there are more in depth things to consider...

API generation

Given services and endpoints have type information saved with them (can be set in the UI of each service), we generate client APIs for each service in a number of languages.

To do this we need integration with GitHub.

GitHub

To get the GitHub integration working, you need two things:

  • a user who can create repositories in your organisation (only possible through GitHub's HTTP API)
  • an SSH key on the machine and added to a users' GitHub account who can commit into said repositories (ssh-keygen -t rsa -b 4096 -C "[email protected]"; eval "$(ssh-agent -s)"; ssh-add ~/.ssh/id_rsa). This user must be the one who runs the server - likely root, since root is needed to access docker, unless you configure your machine otherwise.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].