This is an early version of a garage sell app to create a full CRUD web application using a React frontend and Django backend using the django rest framework. There are two different React clients in this repository that is editting the garage_sell models two different ways:
-
garage_sell_client: This React client edits the garage_sell model using the existing form used to add a new model. This was the easy way for students to solve the problem.
-
garage_sell_client_inline: This React client edits the model inline in the page that is easier for a user. This was a challenge for the students to complete. Unfortunately it proved to be too challenging and we went over the answer.
- Use the terminal/console to navigate to the garage_sell_server directory and run
python manage.py runserver
.
Note If the server is not run on the 8000 port, you'll have to change all the proxy's in each React client's package.json file.
- Use the terminal/console to navigate to the garage_sell_client or garage_sell_inline directories. If you have npm installed, run
npm install
in the directories. Once complete, run thenpm start
command to start the client server.