All Projects → antoniosarosi → Home Cloud

antoniosarosi / Home Cloud

The "cloud" at home

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Home Cloud

Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-43.12%)
Mutual labels:  express, docker-compose
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (+35.32%)
Mutual labels:  express, docker-compose
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (+7.06%)
Mutual labels:  express, docker-compose
Docker Handbook Projects
Project codes used in "The Docker Handbook"
Stars: ✭ 661 (+145.72%)
Mutual labels:  express, docker-compose
Fullstack Shopping Cart
MERN stack shopping cart, written in TypeScript
Stars: ✭ 82 (-69.52%)
Mutual labels:  express, docker-compose
Docker Compose Nodejs Examples
Finally some real world examples on getting started with Docker Compose and Nodejs
Stars: ✭ 944 (+250.93%)
Mutual labels:  express, docker-compose
Strimpack
A platform for livestreamers to make a home for their audience.
Stars: ✭ 378 (+40.52%)
Mutual labels:  express, docker-compose
Express Postgres Starter
A starter project for Node.js with Express and Postgres running on Docker Compose
Stars: ✭ 107 (-60.22%)
Mutual labels:  express, docker-compose
Express Typescript
Express + TypeScript + Boilerplate for Web / API App
Stars: ✭ 230 (-14.5%)
Mutual labels:  express, docker-compose
traefik-letsencrypt-compose
Basic Traefik configuration which includes automatic Let’s Encrypt certificate management and password protected dashboard
Stars: ✭ 38 (-85.87%)
Mutual labels:  docker-compose
Home
Project Glimpse: Node Edition - Spend less time debugging and more time developing.
Stars: ✭ 260 (-3.35%)
Mutual labels:  express
docker-haproxy-certbot
Dockerized HAProxy with Let's Encrypt certificates automatic renewal
Stars: ✭ 28 (-89.59%)
Mutual labels:  docker-compose
SENT-template
Skip setup and start code with SENT (Sapper Express Node Template) and other tools
Stars: ✭ 69 (-74.35%)
Mutual labels:  docker-compose
Docker Spark Cluster
A simple spark standalone cluster for your testing environment purposses
Stars: ✭ 261 (-2.97%)
Mutual labels:  docker-compose
focalboard-docker
Cross platform Docker images for Focalboard.
Stars: ✭ 12 (-95.54%)
Mutual labels:  docker-compose
Docker Fail2ban
Fail2ban Docker image based on Alpine Linux
Stars: ✭ 263 (-2.23%)
Mutual labels:  docker-compose
video-tutorial-docker
Learn with me and get more knowledge about Docker and Docker Swarm environments.
Stars: ✭ 29 (-89.22%)
Mutual labels:  docker-compose
devops-essentials
DevOps Essentials | terraform | kubernetes | linux | nginx | monitoring | docker | docker-compose
Stars: ✭ 159 (-40.89%)
Mutual labels:  docker-compose
Bgp Dashboard
BGP Dashboard and Monitoring Web Application
Stars: ✭ 268 (-0.37%)
Mutual labels:  docker-compose
Fullstack App
⚡ Ready-to-use, serverless, full-stack application built with AWS Lambda, Express.js, React, AWS DynamoDB and AWS HTTP API.
Stars: ✭ 265 (-1.49%)
Mutual labels:  express

Home Cloud

Host your own cloud at home

Table of Contents

Development Setup

First, clone the repo and cd into the project:

git clone https://github.com/antoniosarosi/home-cloud.git
cd home-cloud

Local setup (Linux & Windows)

Install dependencies:

cd server
npm i
cd ../client # ..\client on Windows
npm i
cd ..

Run locally

Backend

Move to the server directory:

cd server

Open sample.env and copy its content into a new file named .env, then set the correct value for HOME_CLOUD_STORAGE. Now start the server:

npm run dev

Frontend

Move to the client directory:

cd client

Open sample.env and copy its content into a new file named .env, then set the correct value for REACT_APP_API_URL. Finally, start the development server:

npm start

Backend will be running on port 5000 and frontend on port 3000 (if not already in use).

Docker (Linux)

First, set the correct value for HOME_CLOUD_STORAGE env variable:

export HOME_CLOUD_STORAGE="/home/user/example"

Then create a .env file in ./client/ and set this value:

REACT_APP_API_URL="http://localhost:8081"

Install dependencies:

docker-compose run express npm i
docker-compose run react npm i

Run on Docker containers

docker-compose up

Backend will be running on port 8081 and frontend on port 8080 (if not already in use).

Production Setup

Local (Linux & Windows)

Backend

Move to ./server/ and set the correct value for HOME_CLOUD_STORAGE in .env (see examples in sample.env), and then run npm start:

npm start

Frontend

Move to ./client/ and create a file named .env.production, set the correct value for REACT_APP_API_URL (see examples in sample.env). Then, install serve globaly:

npm i -g serve

Build the app:

npm run build # Or yarn build

Start the server:

serve -s build -l 3000 # Or another port of your choice

Docker (Linux)

First, set the correct value for HOME_CLOUD_STORAGE env variable:

export HOME_CLOUD_STORAGE="/home/user/example"

Then create a .env.production file in ./client/ and set the correct value for the API URL (your IP address and port 8081):

REACT_APP_API_URL="http://192.168.1.2:8081"

Build images and run containers:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
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].