Skip to content
This repository was archived by the owner on Sep 26, 2020. It is now read-only.

CloudIOInc/cloudio-saas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

308 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudio-saas-backend

Technical details

Technology Purpose Ref
React Hooks UI https://reactjs.org/docs/hooks-intro.html
Material-UI UI https://material-ui.com/
Express JS Node Server https://expressjs.com/en/5x/api.html
Mongo DB Platform Metadata Database https://docs.mongodb.com/
Statex UI State Management Library https://cloudioinc.github.io/statex/

VS Code extensions

  1. esbenp.prettier-vscode
  2. tyriar.sort-lines
  3. dbaeumer.vscode-eslint

Getting Started

git clone https://github.com/CloudIOInc/cloudio-saas.git
cd cloudio-saas

1. Docker (Optional)

Download and install docker desktop of your OS https://www.docker.com/products/docker-desktop

Start the MongoDB on Docker

cd docker
./start-docker.sh

http://localhost:8081/db/cloudio/

Update server/src/config/config.ts to point DB_URL to 'mongodb://root:example@localhost:27017';

2. Server (Optional for client only development)

Environment Variables Setup

Update server/src/config/config.ts if needed

Code Editing

cd server
code .
yarn install

Start the server in development mode w/ Webpack HMR

yarn start

Start the server in development mode w/ ts-node (To Debug from VSCode)

Create a new Javascript debug Termial as shown below before running yarn start:tsnd

image

yarn start:tsnd

3. Client

Update BASE_URL in client/src/config/config.ts to point to http://localhost:3080/v1/ if you are also making changes to the server-side code

cd client
code .
yarn install
yarn start

4. Running the test scripts

yarn watch-test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7