git clone https://github.com/mavidurak/mentor-api.git
cd mentor-api
npm install
npm start
npm run migrate
NODE_ENV=test npm run migrate
npm run lint -- --fix
APP_PORT=4000
DATABASE=mavidurak
TEST_DATABASE=mavidurak_test
DATABASE_USERNAME=root
DATABASE_PASSWORD=
DATABASE_HOST=localhost
API_PATH=http://localhost:4000
DASHBOARD_UI_PATH=http://localhost:8080
EMAIL_HOST=
EMAIL_PORT=
EMAIL_SECURE=
EMAIL_USER=
EMAIL_PASSWORD=
Send mail with smtp.gmail.If you use smtp.google, EMAIL_SECURE=
is mast be true
docker build -t mentorapi:1.0 .
docker run --env-file=.env --network host mentorapi:1.0