Skip to content

cloudlibz/nodecloud-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodecloud-web

nodecloud-web provides an interactive front-end for nodecloud. NodeCloud is a standard library to get a single API on the open cloud with multiple providers. Making open cloud easily accessible and managed.

screenshot

clone or download

$ git clone https://github.com/cloudlibz/nodecloud-web.git
$ npm i

Project Structure

server/
   package.json
   .env (to create .env, check [prepare your secret session])
client/
   package.json
...

Usage (run fullstack app on your machine)

Client Side (PORT: 8081)

$ cd client   // go to client folder
$ npm i       // npm install pacakges

// deployment for client app
$ npm start // this will compile the react code using webpack and run them at port 8081 by default

Server Side (PORT: 4000)

Environment Variables (.env)

JWT_SECRET = YOUR_JWT_SECRET

NOTE: nodecloud currently supports MICROSOFT AZURE

Add the following Azure Credentials to your .env file

AZURE_CLIENT_ID= YOUR_CLIENT_ID

AZURE_CLIENT_SECRET=YOUR_CLIENT_SECRET

AZURE_TENANT_ID=YOUR_TENANT_ID

AZURE_SUBSCRIPTION_ID=YOUR_SUBSCRIPTION_ID

AZURE_STORAGE_ACCESS_KEY=YOUR_STORAGE_ACCESS_KEY

AZURE_STORAGE_ACCOUNT=YOUR_STORAGE_ACCOUNT

AZURE_STORAGE_CONNECTION_STRING=YOUR_STORAGE_CONNECTION_STRING

Start

$ cd server   // go to server folder
$ npm i       // npm install pacakges
$ npm run // this will build the server code

Docker

$ cd nodecloud-web
$ docker-compose up

API Documentation

API docs

Screenshots

License

MIT