DROP TABLE
- Have NodeJS installed (https://nodejs.org/en/).
- Navigate to the
FrontendApartmentReservationproject - In the console, run
npm install - Once all the modules are installed, run
npm run.
- Make sure you are running project with
localsettings. You can check it inlaunchSettings.json. Out-of-the-box file should be configured aslocalenvironment. - Simply run the solution as IIS Server or as standalone console application
- Make sure you have docker installed
- Navigate to the
BackendApartmentReservation/BackendApartmentReservationfolder (the one that hasDockerfilein it) - From the console, build project using
docker build . -t whatever_name - Run docker container using
docker run -p PORT:PORT whatever_namewherePORTis the port inlaunchSettings.json. Default is5000.
- Routes should already be configured to the correct port. You are good to go.
- Select
BackendApartmentReservationas 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.jsonBackendApartmentReservationtarget to have the same port as IIS server/Docker image - Edit FE application
src/actions/index.jsxfile to use port5000
- Edit