Skip to content

CPSECapstone/CloudHaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http://cloudhaven.net

Setup:

git clone https://github.com/CPSECapstone/CloudHaven.git

at this point, you will need to set up a .env file in backend/. See the 'Env' Section for what variables you need.\

Run npm install in /backend and read Readme in /frontend to install dependencies

Running CloudHaven

see /frontend Readme to run frontend

npm start in /backend to run backend

Env:

A .env file in /backend is required to store secrets. The variables you must include are:
ACCESS_PRIV_KEY=access token secret, should be a generated string of at least 60 characters
REFRESH_PRIV_KEY=refresh token secret, should be a generated string of at least 60 characters
DB_USER=mongoDb username
DB_PASS=mongoDb password
DB_CLUSTER=mongoDb cluster target

the mongoDb variables appear as follows in the connection url: mongodb+srv://<DB_USER>:<DB_PASS>@<DB_CLUSTER>?retryWrites=true&w=majority

Testing:

./build_tests.sh will run tests for both backend and frontend

About

Cal Poly 2020-2021 Capstone Project CloudHaven

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published