generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Workshop Part 2
ABG edited this page Nov 17, 2022
·
6 revisions
Attendees should have completed Workshop Part 1 or successfully completed all items on our environment setup list:
- Git installed
- GitHub account and Two-Factor Authentication (2FA)
- IDE or Code Editor (we prefer VS Code)
- Docker and Docker-compose installed/downloaded from the internet
- Basic knowledge of Python – see lessons here
Additional resources (read if you want to, but not required)
- Basic knowledge of Git (link)
- Docker (link)
- Django Rest Framework (link)
This portion of the workshop will work through the steps for creating a PostgreSQL database table using Django, creating an API endpoint with the Django REST Framework (DRF), and writing tests using Pytest.
- Select an issue (5 minutes)
- Create a model (5 minutes)
- Write a test for the model and make sure it passes (10 minutes)
- Register the model (5 minutes)
- Make sure the admin site is working (5 minutes)
- Create a serializer for the model (5 minutes)
- Create a view set for the API endpoints (15 minutes)
- Register the endpoint (5 minutes)
- Create a test for the endpoint(s) (10 minutes)
- Troubleshooting (10 minutes)
Click Pages above to see all documentation in alphabetic order. The below list organizes the documentation and excludes some less critical documentation.
Onboarding
- Onboarding & offboarding all non-Product team members☑️
- Onboarding & offboarding Product team members☑️
- Additional technical onboarding for Developers☑️
Guides
Draft
- How-Knowledgebase-will-use-People-Depot
- Auto generating seed data scripts from data - generic, non-people depot specific
- Requirements for People Depot V1☑️
- People Depot Tables and Fields☑️
- Other related data☑️
- Stakeholder's that will use People Depot☑️
Security Requirements, Test Cases, and Technical Design
- Security: Functional Requirements. Derived from Test Cases in Issue #150
- [Test Cases] - pending, see Test Cases in Issue #150
- Security: Field Level Proposal (using Github Copilot