Skip to content

mavidurak/mentor-api

Folders and files

NameName
Last commit message
Last commit date
Feb 4, 2021
Feb 1, 2021
Dec 6, 2021
Apr 8, 2022
Mar 1, 2021
Apr 5, 2021
Mar 1, 2021
Mar 15, 2021
Sep 14, 2020
Feb 1, 2021
Apr 5, 2021
Jul 23, 2020
Mar 30, 2021
Mar 3, 2021
Nov 1, 2021
Mar 30, 2021
Mar 1, 2021

Repository files navigation

Mentor API

Install

git clone https://github.com/mavidurak/mentor-api.git
cd mentor-api

Setup

npm install

Start

npm start

Migration

npm run migrate

Testdb Migration

NODE_ENV=test npm run migrate

ESlint Fix

npm run lint -- --fix

Example .env

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

docker build -t mentorapi:1.0 .

Docker Run

docker run --env-file=.env --network host mentorapi:1.0

License

GNU General Public License v3.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages