Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

I47-node-modules #56

Closed
wants to merge 8 commits into from
Closed

I47-node-modules #56

wants to merge 8 commits into from

Conversation

martinjrobins
Copy link
Collaborator

Fixes #47

mjaquiery and others added 8 commits February 24, 2023 09:23
Major update. 

## Key features:
- Moved backend over from Flask to Django
  - Streamlines database interaction
  - Provides a more reliable framework for code
- Converted frontend to TypeScript
  - More robust code
- Separated Harvester code from backend code
  - Harvesters now rely on API endpoints rather than direct database writes
- Updated documentation throughout

## Missing features (todo):
#39 
- Frontend tests
- Cleaning out old frontend files

#40 
- Entity creation logic should be handled by Django Serializers rather than Views
- Harvester ENV stuff no longer handled 
  - Mostly matters for being able to specify a base path; could be done in config/Harvester view
- Updated Entity Relationship Diagram

#38 
- Python API client code
  - Should be automatically generated via swagger codegen API/docker container, perhaps on demand?

#41 
- Migration from old database

#42 
- API token management (including long-term tokens for scripts)
- User management (reset password, update email?)

#43 
- Profiling important things
  - Data upload
  - Data download
- closes #48 - fixed incorrect API call endpoint
- closes #47 - added volume override for `/app/node_modules/`
- closes #49 - use `.env.secret` in tests; create `.env.secret` in GitHub tests from envvars
- User API token management
  - Tests for token endpoints
- User profile management
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using a volume for frontend clobbers node_modules
2 participants