fri-team / Swapify

We do, what we can
6 stars 0 forks source link
docker dotnet-core mongodb react travis-ci

Swapify

Build Status

Web based application enabling students of University of Zilina to exchange course time blocks.

Prerequirements

Install Visual Studio Code Extensions

Built With

How to run application

Using Docker

  1. Clone repository
  2. Open solution using Visual Studio
  3. Run project docker-compose
  4. If you change FE, it docker image needs to be build using command "docker build -t react -f ./WebApp/Dockerfile ."

Old approach

-- Backend --

  1. Clone repository
  2. Open solution using Visual studio (Swapify.sln)
  3. Set startup project to WebAPI
  4. Make sure you use WebAPI debug profile
  5. Run project (Backend should launch) -- Frontend --
  6. Open command line (Preferably in Admin mode to make sure everything works right)
  7. Go to the folder where your swapify project is stored
  8. Go to the WebApp folder
  9. write: npm install
  10. write: npm start

After these steps, the application should launch in your browser.

If you get error that npm start can't launch then try this solution: https://stackoverflow.com/questions/45499656/error-occured-when-executing-command-npm-run-serve

How to open Swagger documentation