Revelations
所属分类:FaaS/Serverless
开发工具:TypeScript
文件大小:933KB
下载次数:0
上传日期:2023-03-01 22:02:57
上 传 者:
sh-1993
说明: 启示录是一个功能即服务(FaaS)平台,能够基于编程语言和...
(Revelations is a Function as a Service (FaaS) platform able to create dynamic APIs based on a programming language and accompaning libraries.)
文件列表:
LICENSE (18092, 2023-02-14)
app (0, 2023-02-14)
app\Dockerfile (253, 2023-02-14)
app\package-lock.json (1257202, 2023-02-14)
app\package.json (1558, 2023-02-14)
app\public (0, 2023-02-14)
app\public\about.txt (302, 2023-02-14)
app\public\android-chrome-192x192.png (11861, 2023-02-14)
app\public\android-chrome-512x512.png (33073, 2023-02-14)
app\public\apple-touch-icon.png (10572, 2023-02-14)
app\public\favicon-16x16.png (557, 2023-02-14)
app\public\favicon-32x32.png (1271, 2023-02-14)
app\public\index.html (1735, 2023-02-14)
app\public\manifest.json (492, 2023-02-14)
app\public\robots.txt (67, 2023-02-14)
app\public\site.webmanifest (263, 2023-02-14)
app\src (0, 2023-02-14)
app\src\App.scss (58, 2023-02-14)
app\src\App.test.tsx (372, 2023-02-14)
app\src\App.tsx (1110, 2023-02-14)
app\src\app (0, 2023-02-14)
app\src\app\hooks.ts (350, 2023-02-14)
app\src\app\keycloakConfig.ts (352, 2023-02-14)
app\src\app\store.ts (715, 2023-02-14)
app\src\components (0, 2023-02-14)
app\src\components\Header.tsx (3517, 2023-02-14)
app\src\components\Home (0, 2023-02-14)
app\src\components\Home\ContainerDetails.tsx (3223, 2023-02-14)
app\src\components\Home\ContainersTable.scss (39, 2023-02-14)
app\src\components\Home\ContainersTable.tsx (5259, 2023-02-14)
app\src\components\Home\UploadDatasetForm.tsx (3013, 2023-02-14)
app\src\components\Home\containerSlice.ts (674, 2023-02-14)
app\src\components\Images (0, 2023-02-14)
app\src\components\Images\BuildImageForm.scss (37, 2023-02-14)
app\src\components\Images\BuildImageForm.tsx (3879, 2023-02-14)
... ...
# Revelations
Revelations is a **Function as a Service** (**FaaS**) platform able to create dynamic APIs based on a programming language and accompaning libraries.
It was initially developed as part of my thesis for my Master Engineer's studies in University of West Attica.
## Requirements
* Modern system that supports Docker and Docker Compose
* Ansible
* 8 GB ram
* 20 GB of free space
## Architecture
This project follows the microservice logic in a Docker Swarm.
Each component uses a different programming language and framework.
This includes:
* **ReactJS** with TypeScript, Tailwind, SCSS, Redux Toolkit and React Query
* **ExpressJS** implemented with TypeScript and Mongoose
* **Gin (Golang)** with the official Docker library and Gin
* **Flask (Python)** with Numpy and Pandas
Moreover it uses a **Mongo** database to store datasets and **Keycloak** to authenticate users.
More on the documentation site.
## Install
Guides on how to install Docker on your Operating System.
If your OS of your choice is missing from here, please refer to the official Wiki of your OS to check if it supports it!
:warning: For Windows 10 and 11, you will need WSL2. Make sure you have build 2024 or newer for Windows 10. You can check on how to install WSL2 [on the official documentation of Microsoft](https://docs.microsoft.com/en-us/windows/wsl/install).
### Debian-based Linux (Ubuntu, Mint, etc)
```bash
echo "Installing docker"
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/debian/gpg |
sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd*** signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
echo "Done installing Docker"
```
### Arch-based Linux (Manjaro)
```bash
echo "Installing docker"
sudo pacman -Syu docker docker-compose
sudo systemctl enable --now docker.service
sudo groupadd docker
sudo usermod -aG docker "${USERNAME}"
echo "Successfully installed docker"
```
### Docker Desktop (Windows, MacOS)
:warning: it has not been tested yet if it works on WSL2, but it should
You can install [a desktop GUI if your platform supports it!](https://www.docker.com/products/docker-desktop/)
## How to run
### Development environment
```bash
./run.sh
```
## Contribute
The code is fully **open source** and everybody can contribute code and put a pull request. If you want to contribute, contact me in Discord ``IakMastro#0344`` or at ``iakmastro@outlook.com.gr``
近期下载者:
相关文件:
收藏者: