-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 67622b1
Showing
77 changed files
with
58,038 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM node:15.11.0 as build-stage | ||
|
||
WORKDIR /app | ||
|
||
|
||
COPY package*.json ./ | ||
|
||
RUN npm install | ||
|
||
|
||
# Bundle app source | ||
COPY ./ /app/ | ||
|
||
ENV REACT_APP_VAULT_HOST=https://streamsforlab3.bucaramanga.upb.edu.co | ||
ENV REACT_APP_VAULT_TOKEN=s.svTh5haBOLUE37V7sjrFKABm | ||
ENV REACT_APP_GATEWAY_SERVICE_BASE_URL=https://streamsforlab.bucaramanga.upb.edu.co/gateway | ||
ENV REACT_APP_VAULT_SECRET_ENV_URI=/v1/kv/env | ||
ENV REACT_APP_VAULT_SECRET_AZURE_URI=/v1/kv/azure | ||
ENV REACT_APP_VAULT_SECRET_GOOGLE_URI=/v1/kv/google | ||
ENV REACT_APP_VIDEO_HOST=https://streamsforlab2.bucaramanga.upb.edu.co/video | ||
|
||
RUN npm run build | ||
|
||
|
||
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx | ||
FROM nginx | ||
|
||
COPY --from=build-stage /app/build/ /usr/share/nginx/html | ||
COPY default.conf /etc/nginx/conf.d/default.conf | ||
|
||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<h1 align="center">Streams for lab 👋</h1> | ||
<p> | ||
<a href="#" target="_blank"> | ||
<img alt="License: MIT" src="https://img.shields.io/badge/License-GPL-yellow.svg" /> | ||
</a> | ||
</p> | ||
|
||
Streams for lab es un proyecto integrador de la facultad de ing. de sitemas, propuesto por la facultad para desarrollar durante el semestre, el cual consta de lo siguiente: | ||
Como iniciativa en la solución al manejo de recursos compartidos en pequeñas empresas o el hogar se propone desarrollar un sistema distribuido de administración de recursos compartidos como se muestra en la Figura 1. Entre ellos archivos, fotos y video desde una interfaz unificada. Se propone que el sistema permita sincronizar datos de celular o directorios de un equipo de escritorio, en una copia de seguridad. También ofrezca la capacidad de compartir archivos. Si los archivos son imágenes o video el sistema ofrecería la capacidad de organizar y presentar las imágenes. Por ejemplo, la aplicación “Fotos” de Google. Además, el sistema tendría un servidor streaming para compartir y reproducir video. | ||
|
||
[CFC (algorithm of sync)](https://github.com/oneCiser/Sync-Files-Cipher) | ||
|
||
# Arquitecture | ||
![Part 1](https://firebasestorage.googleapis.com/v0/b/ingdeiver.appspot.com/o/portafolio%2Fimagenes%2FStreams%20form%20lab%20arc-1.jpg?alt=media&token=3a5867fb-e12e-44e9-a319-68c2681a9f7b "Part 1") | ||
|
||
![Part 2](https://firebasestorage.googleapis.com/v0/b/ingdeiver.appspot.com/o/portafolio%2Fimagenes%2FStreams%20form%20lab%20arc-2.jpg?alt=media&token=6832e358-4d9e-44cd-82d4-6aa7a8d77d10 "Part 2") | ||
|
||
# List of repositories | ||
- [Gateway service](https://github.com/IngDeiver/streams-for-labs-gateway-service) | ||
- [Video service](https://github.com/IngDeiver/streams-for-labs-video-service) | ||
- [Photo service](https://github.com/IngDeiver/streams-for-labs-photo-service) | ||
- [File service](https://github.com/IngDeiver/streams-for-labs-file-service) | ||
- [Sync service](https://github.com/IngDeiver/streams-for-labs-sync-service) | ||
- [Web client](https://github.com/IngDeiver/streams-for-labs-web-client) | ||
- [Admin service](https://github.com/IngDeiver/streams-for-labs-admin-service) | ||
|
||
|
||
# Secciones de la aplicación web | ||
## Login | ||
![Admin Login](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2FLogin%20admin.png?alt=media&token=06f93f06-91c6-4171-84f2-fcbfcbcaa3e1) | ||
![Login](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2Flogin.png?alt=media&token=9a4a1c88-e001-4d15-9fab-e8ac6d8d1bdd) | ||
## Files | ||
![Files](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2Ffiles.png?alt=media&token=ce3fda2c-2ec8-48d7-84b4-f91daab9604d) | ||
## Photos | ||
![Photos](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2FPhotos.png?alt=media&token=a61f7073-e485-4f1e-be7b-7ffbc815f782) | ||
## Videos | ||
![Videos](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2FVideos.png?alt=media&token=984be8d4-0c86-41df-b842-0e05cf4ff29f) | ||
## Shared | ||
![Shared](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2FShared.png?alt=media&token=db4d3bf2-a49a-48f5-ae17-7f379b66b792) | ||
|
||
## Administration | ||
![Administration](https://firebasestorage.googleapis.com/v0/b/files-service.appspot.com/o/images%2Fadminiustration.png?alt=media&token=2d8594ad-03d5-4038-9849-889e991c5855) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
server { | ||
listen 80; | ||
listen [::]:80; | ||
server_name localhost; | ||
|
||
#charset koi8-r; | ||
#access_log /var/log/nginx/host.access.log main; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
try_files $uri $uri/ /index.html; | ||
} | ||
|
||
#error_page 404 /404.html; | ||
|
||
# redirect server error pages to the static page /50x.html | ||
# | ||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
} | ||
} |
Oops, something went wrong.