Skip to content

Conversation

@urgent
Copy link

@urgent urgent commented Nov 11, 2019

Hello:
Checking in, in case weekends count against the five day deadline, and to share what I consider production ready code.

Features:

  • Red/Green refactoring for backend
  • Start on results factory function

Todo:

  • Fractal directory structure
  • Mixins for result.finding, result.finding.position, result.finding.location
  • Frontend
  • Docker

urgent and others added 30 commits November 8, 2019 09:34
Saving Dockerfile implementations for later. Want to build some units first.
For testing units for api.

leaked handles tends to come up with tape
Needed for watch

Developer moving to this from a Netlify environment where everything was scaffold :|
Test for Result entity
Validation moved into it's own utility for security
Iterators moved out of testing into route object
Command and paramter greenlights
for more thorough testing of function
Left out match caps of punctuation. Needed to add spaces for metadata description
Finished moving time and patterns out of result.tests.js for central validation

Finished moving iterators into routes/results
Removed time function from tests
Moved to routes/results out of testing, for reuse in handlers
Switch to fractal directory structure

Needed clarity and simplicity before building factory pattern

Switching to objects with default parameters and methods instead of pure functions, using 'this'
Needed to fix nested requires
Stashed factory mixins feature for backend.

Trying to build instead of using mocks in tests, and objects in rest result.

Issue with position, value in key. Stashed, and moving to work on frontend
Stayed with begin as default, to allow for property access without throwing error

Also fixed location with spread in createLocation
Added fastify for GET and POST requests

No events, too close to deadline
Need build directory in api/Dockerfile

dashboard/ from create-react-app
Needed correct mounts in compose and to listen on 0.0.0.0 and not local IP in api/index.js
Simple styles, attempt at integrating tailwind and storybook failed.

References:
storybookjs/storybook#4038 (comment)
@urgent urgent closed this Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants