React Django CRUD app to list and search other web apps
- Git
- Python 3.6+
- npm (Node.js package manager)
git clone git@github.com:JoshLarouche/josh-larouche-ecc-dssb-IS24-code-challenge.git
cd josh-larouche-ecc-dssb-IS24-code-challenge
python -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
cd backend
python manage.py migrate
python manage.py runserver
cd app
npm install
npm start
I have completed all of the base criteria and bonus criteria.
- add input validation and ease of use error messages
- add testing
- add dockerization
- add CI pipeline
All API endpoints can be accessed under the base URL: http://localhost:8000/api/
- URL:
/api/products/
- Method: GET
- Description: Retrieve a list of all products.
- Response: Returns a JSON array containing product records.
- URL:
/api/products/{id}/
- Method: GET
- Description: Retrieve details of a specific product by ID.
- Response: Returns a JSON object representing the product.
- URL:
/api/products/
- Method: POST
- Description: Create a new product.
- Request: Requires a JSON object with product details.
- Response: Returns a JSON object representing the newly created product.
- URL:
/api/products/{id}/
- Method: PUT
- Description: Update the details of a specific product by ID.
- Request: Requires a JSON object with updated product details.
- Response: Returns a JSON object representing the updated product.
- URL:
/api/products/{id}/
- Method: DELETE
- Description: Delete a specific product by ID.
- Response: Returns a success message.
For more detailed information about the API, including request and response schemas, please refer to the interactive Swagger documentation.
For terms of service, please visit our Terms of Service page.
For inquiries or support, you can contact us via email at joshua.t.larouche@gmail.com.
The API is licensed under the Apache 2.0 license.