For convenience, project is divided into two section
- Backend
- Frontend
-
Clone this repository via command: git clone https://github.com/softerboy/office-control.git
-
Go to directory containing this Readme.md file
-
From command line enter command: npm install. This command installs backend branch dependencies
-
After all dependencies installed, run command: npm start. This command starts backend server on port 3000 (Make sure your port isn't busy from another process)
-
Then from command line goto frontend directory and run command: npm install. This command installs frontend branch dependencies
-
After all dependencies installed run command: npm start. After that webpack-dev-server automatically opens project in your default browser and you will see project's home screen.
If at home screen appears "No results" message, your browser blocks site by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
So your browser doesn't allow XMLHTTPRequests from origin http://localhost:8080
To fix this, install any CORS fixer extension into your browser, for Chrome Moesif is best choise. Turn on Moesif extension and refresh home page