Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 750 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 750 Bytes

Installation and run instructions

Clone the repo.

Create a virtual environment and activate it.

cd elevator_api

pip install -r requirements.txt

python manage.py runserver (this will run the backend on 127.0.0.1:8000)

Open another shell and cd elevator/elevator-control-panel

install npm

npm install axios

npm install react react-dom web-vitals

npm install react-scripts --save

npm start

To navigate:

The React front end will launch and allow you to communicate with the backend invisibly.

If you want to use the REST API endpoints directly then you can go to 127.0.0.1:8000 and play with whichever URLs you want to from urls.py.

The React front end is available from http://localhost:3000/