.
├── .babelrc # Babel config
├── .eslintrc.js # ESLint config
├── .sequelizerc # Sequelize config
├── CONTRIBUTING.md
├── docs
│ └── ...
├── hooks // Git hooks
│ └── pre-commit
├── LICENSE
├── migrations
│ └── <timestamp-name>.js
├── nodemon.json # Nodemon config
├── package.json
├── package-lock.json
├── README.md
├── sample.env # Sample environment variables file
├── seeders
│ └── <timestamp-name>.js
└── src
├── config
│ └── sequelize.js # Database config
├── constants
│ └── api.js
├── joi.js # For Joi multiple error
├── models
│ ├── index.js
│ └── <modelName>.js
├── pre_handlers
│ ├── authantication.js
│ ├── complatePath.js
│ └── index.js
├── router.js
├── routes
│ ├── <routeName>
│ │ └── index.js
│ └── index.js
├── sequelize.js # Database connection
├── server.js # Server start point
└── utils
└── encription.js
git clone https://github.com/mavidurak/orientation-api.git
cd orientation-apiInstall dependencies
npm installCopy sample.env file then changes values.
cp sample.env .envCreate database then migrate it
npm run migrateInsert random data into database
npm run seednpm startnpm run lintBuild git hooks
npm run build-hooksnpm run build