Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Project Setup

Strayker edited this page Oct 29, 2023 · 2 revisions

Clone Repo

  • Use git CLI client on your local mashine and run this command:
git clone https://github.com/Strayker-Software/Binder.git

this will clone repo to current location.

  • Or use other options provided by GitHub, presented below:

image

Setup Web Frontend

  • Enter binder-web-frontend folder,
  • Run the following commands:
npm install
npm prepare-husky
npm run dev

The first command will install external packages into local folder, the second one will setup Husky pre-commit hook for Prettier formatting, the third one will run development environment build and start web server to provide website to you.

Setup Web Backend

  • Enter binder-web-backend folder with some file explorer,
  • Open Binder.sln file with Visual Studio (2022 edition is recommended for best performance),
  • Right-click on solution record in Solution Explorer subwindow and press "Build Solution" option, wait until build finish,
  • Click debug run button on VS main tool box, with start project as "Binder.Api" selected, wait until operation finish, web browser should show up with Swagger page open,

Setup Database

  • Install some MySQL database provider app (can be database engine instance or web service pack like XAMPP, etc.), MySQL server must be in version 10.4.27 for now,
  • Start DBMS, wait until initialization finish,

Check Setup

Keep open both frontend and backend to perform check up.

  • Move to web browser, open http://localhost:4200 and wait until page load,
  • Check if app loaded data from DB, like current tasks from selected table,
  • If this action was also done without any errors, setup of frontend, backend and database was finished with success,

Clone this wiki locally