-
install node js in the client development machine and ensure npm is installed by the command
to check npm version
-
install mongoDb
-
install node_modules / dependencies as specified in the package.json at
311-vet-health
this is done by the command -
Configure environment variables in a .env file
- SESSION_SECRET
- MONGO_URI
- PORT
- SKIP_PREFLIGHT_CHECK
- MONGO_TEST_URI
- REFRESH_TOKEN
- CLIENT_ID
- CLIENT_SECRET
-
At the Project root folder
311-vet-health
after installing the modules run the command -
The above command runs and starts the server at
-
On your web browser navigate to http://localhost:3100
-
After creating an account to login as a vet use address http://localhost:3100/mifugo/login/vet and to login as a client use http://localhost:3100/mifugo/login.
- The client has been bootstraped with
- Configure following REACT env variables in a .env file
- REACT_APP_OPENCAGE_API_KEY
- REACT_APP_OPENCAGE_URI For the project scenarial Open cage API was chosen but its your choice to use whatever API You wish for.
- additional dependencies can be found at
client/package.json file