Skip to content

softerboy/office-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Office Control

Control your office furniture with smarter way!

Demonstratable Single Page Application (SPA) sample for controlling office furnitures.

ExpressJS (server), React & Redux (frontend) stack used

How to run this project?

Requirements

Nodejs (version > 8)

For convenience, project is divided into two section

  • Backend
  • Frontend
  1. Clone this repository via command: git clone https://github.com/softerboy/office-control.git

  2. Go to directory containing this Readme.md file

  3. From command line enter command: npm install. This command installs backend branch dependencies

  4. 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)

  5. Then from command line goto frontend directory and run command: npm install. This command installs frontend branch dependencies

  6. 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.

!!! IMPORTANT !!!

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

!!! Again, application is not uses any statefull database, all your changes are saved in InMemoryDataProvider, so after server restarted, all your changes removed from memory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published