DROP TABLE
- Have NodeJS installed (https://nodejs.org/en/).
- Navigate to the
FrontendApartmentReservation
project - In the console, run
npm install
- Once all the modules are installed, run
npm run
.
- Make sure you are running project with
local
settings. You can check it inlaunchSettings.json
. Out-of-the-box file should be configured aslocal
environment. - Simply run the solution as IIS Server or as standalone console application
- Make sure you have docker installed
- Navigate to the
BackendApartmentReservation/BackendApartmentReservation
folder (the one that hasDockerfile
in it) - From the console, build project using
docker build . -t whatever_name
- Run docker container using
docker run -p PORT:PORT whatever_name
wherePORT
is the port inlaunchSettings.json
. Default is5000
.
- Routes should already be configured to the correct port. You are good to go.
- Select
BackendApartmentReservation
as run option in the run choices dropdown. - If no settings were changed, application will run on port
5000
. There are two options to configure it to work- Edit
launchSettings.json
BackendApartmentReservation
target to have the same port as IIS server/Docker image - Edit FE application
src/actions/index.jsx
file to use port5000
- Edit