Giter Site home page Giter Site logo

pngr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pngr's Issues

CI example

should sketch out what continuous integration might look like

Configuration files for deploying to the cloud

Hi! I just saw your HN post. You're right -- being able to just run docker-compose up makes me a lot more inclined to start developing something new.

However, I'm reluctant to deploy my application to production using Docker. For the frontend I'd like to use something like Netlify for caching/web UI and for the backend I'd like to use something like App Engine for monitoring/scaling/etc

I feel like if you added an App Engine and Netlify configuration file, so you could clone the project and deploy to "production" in 2 commands, that would move this project to the next level :)

Docker build error

github.com/hashicorp/go-multierror

root/go/src/github.com/hashicorp/go-multierror/multierror.go:112:9: undefined: errors.As
root/go/src/github.com/hashicorp/go-multierror/multierror.go:117:9: undefined: errors.Is

github.com/golang-migrate/migrate/source/httpfs

root/go/src/github.com/golang-migrate/migrate/source/httpfs/partial_driver.go:148:6: undefined: errors.As
ERROR: Service 'postgres' failed to build: The command '/bin/sh -c go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate && cp /root/go/bin/migrate /bin/migrate' returned a non-zero code: 2

Migrate front-end build tooling from CRA to Vite

create-react-app and by extension craco is no longer recommended in React docs.

Here is a relevant comment from React maintainer Dan Abramov on shortcomings of create-react-app and it's future.

Lots of articles recommend switching to Vite and I switched to Vite in my project that I forked from this repo and it worked well for me. So I'd suggest moving in that direction.

faster react container startup

npm install makes it take forever for the react dev server to start.

Had to do it this way to avoid requiring container rebuild anytime you added a package... not sure if there's a better way.

Related issue: Probably should have helpers or documentation for running NPM commands in the container(!) for folks that don't have local npm setup and configured

grab bag

random issues/ideas I had in a text file:

  • unit tests with DB interface?
  • end to end tests? in CI? #3
  • check jwt secret to guard against deploying to production with public secret

build semantic-ui-react within this project

currently minified CSS is kludged into the front-end, but it would be fantastic improvement if folks could edit the semantic-ui variables, take advantage of the prebuilt semantic-ui themes, etc.

GitHub Actions for CI

I'd like the ability to clone this repo, start hacking, push code to my repository and have a GitHub Actions pipeline run. The pipeline could be really simple, like just running my backend tests.

Being able to edit an existing GitHub Actions config file is way easier than trying to set everything up from scratch.

Less boilerplate using sqlc

I think we could dramatically increase dev velocity by auto-generating our models/repos with sqlc!

Use this opportunity to fix/improve the migration file formats and helper scripts.

enhance productionization readme

Should probably provides a step-by-step guide for actually forking this thing, setting up a VPS somewhere, basic configuration steps, etc.

It would be nice to flesh out a markdown file for this so that it stays with the project (vs. a medium post or something).

Vaguely related to CI #3

Linter errors after a fresh install

Starting the app I received the following errors. I am typically a golang/backend dev and don't have a lot of React experience.

Is this something expected or easily addressed? I thought it was maybe an npm issue and I ran npm install in the react/ directory with no change.

I also looked at the npm package page and github page but both lack a README so there is no real guiding information there.

Compiled with problems:

ERROR in ./src/index.tsx 7:0-40

Module not found: Error: Can't resolve 'semantic-ui-less/semantic.less' in '/root/src'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 1:0-63

Module not found: Error: Can't resolve './dom-utils/getCompositeRect.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 2:0-57

Module not found: Error: Can't resolve './dom-utils/getLayoutRect.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 3:0-65

Module not found: Error: Can't resolve './dom-utils/listScrollParents.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 4:0-61

Module not found: Error: Can't resolve './dom-utils/getOffsetParent.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 5:0-63

Module not found: Error: Can't resolve './dom-utils/getComputedStyle.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 6:0-55

Module not found: Error: Can't resolve './utils/orderModifiers.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 7:0-43

Module not found: Error: Can't resolve './utils/debounce.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 8:0-61

Module not found: Error: Can't resolve './utils/validateModifiers.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 9:0-43

Module not found: Error: Can't resolve './utils/uniqueBy.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 10:0-59

Module not found: Error: Can't resolve './utils/getBasePlacement.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 11:0-49

Module not found: Error: Can't resolve './utils/mergeByName.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 12:0-55

Module not found: Error: Can't resolve './utils/detectOverflow.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/createPopper.js 13:0-54

Module not found: Error: Can't resolve './dom-utils/instanceOf.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/index.js 2:0-37

Module not found: Error: Can't resolve './modifiers/index.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/index.js 4:0-102

export 'detectOverflow' (reexported as 'detectOverflow') was not found in './createPopper.js' (possible exports: createPopper, popperGenerator)


ERROR in ./node_modules/@popperjs/core/lib/popper-lite.js 2:0-59

Module not found: Error: Can't resolve './modifiers/eventListeners.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper-lite.js 3:0-57

Module not found: Error: Can't resolve './modifiers/popperOffsets.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper-lite.js 4:0-57

Module not found: Error: Can't resolve './modifiers/computeStyles.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper-lite.js 5:0-53

Module not found: Error: Can't resolve './modifiers/applyStyles.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper-lite.js 11:0-75

export 'detectOverflow' (reexported as 'detectOverflow') was not found in './createPopper.js' (possible exports: createPopper, popperGenerator)


ERROR in ./node_modules/@popperjs/core/lib/popper.js 2:0-59

Module not found: Error: Can't resolve './modifiers/eventListeners.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 3:0-57

Module not found: Error: Can't resolve './modifiers/popperOffsets.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 4:0-57

Module not found: Error: Can't resolve './modifiers/computeStyles.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 5:0-53

Module not found: Error: Can't resolve './modifiers/applyStyles.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 6:0-43

Module not found: Error: Can't resolve './modifiers/offset.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 7:0-39

Module not found: Error: Can't resolve './modifiers/flip.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 8:0-61

Module not found: Error: Can't resolve './modifiers/preventOverflow.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 9:0-41

Module not found: Error: Can't resolve './modifiers/arrow.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 10:0-39

Module not found: Error: Can't resolve './modifiers/hide.js' in '/root/node_modules/@popperjs/core/lib'


ERROR in ./node_modules/@popperjs/core/lib/popper.js 16:0-75

export 'detectOverflow' (reexported as 'detectOverflow') was not found in './createPopper.js' (possible exports: createPopper, popperGenerator)


ERROR in ./node_modules/@popperjs/core/lib/popper.js 20:0-37

Module not found: Error: Can't resolve './modifiers/index.js' in '/root/node_modules/@popperjs/core/lib'


ERROR

[eslint] 
src/index.tsx
  Line 5:8:  Unable to resolve path to module 'semantic-ui-less/semantic.less'  import/no-unresolved

Search for the keywords to learn more about each error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.