This an app that connect students with professionals where a professional can offer their service for students
git clone https://github.com/CodeYourFuture/extra-support.git or if you use SSH (recommended):git clone git@github.com:CodeYourFuture/extra-support.git
cd backend- Create local
.envusing the.env.example yarnyarn dev
- Install docker - https://docs.docker.com/
- Install docker-compose - https://docs.docker.com/compose/install/
- In the root of extra-support/backend run
docker-compose uporsudo docker-compose upto run local mongo database
ERROR: for cyf-api_mongo_1 Cannot start service mongo: driver failed programming external connectivityon endpoint cyf-api_mongo_1 (31cd76eff115cb562f0d52e5575f30c04eb9dea0017f4c56217caefcdfec07f3): Bind for0.0.0.0:27017 failed: port is already allocatedERROR: for mongo Cannot start service mongo: driver failed programming external connectivity on endpointcyf-api_mongo_1 (31cd76eff115cb562f0d52e5575f30c04eb9dea0017f4c56217caefcdfec07f3): Bind for 0.0.0.0:27017failed: port is already allocatedERROR: Encountered errors while bringing up the project.
run sudo service mongodb stop or docker stop $(docker ps -aq) and than re-run
docker-compose up or sudo docker-compose up
cd frontend- Create local
.envusing the.env.example yarnyarn start
App well be running on http://localhost:3000