Closed matthandlersux closed 4 years ago
ticket 1 seems more or less done
npx github:Originate/create-originate-app test
cd test
yarn dev
verify localhost:8080 works
git push [github remote]
verify that github ci works./vendor/heroku [heroku remote]
verify that heroku remote works
let's start small, and figure out a way to take a few opinions/structures from existing projects we liked, and wrap that up in something that feels like create react app, but has some extra built in functionality. the guiding AC here is:
feels like create react app
this means that we have a couple of built in commands, like
create-originate-app my-app-name
and then cding into that folder you canyarn start
. the goal here is to make it easy to start up a new project that most people at originate can be happy and productive on, and we save ourselves a 1-4 weeks of development.extra built in functionality
...to me, means a couple of opinions that we pull from existing projects (i think: https://github.com/originate/vibecheq is a good one to reference, which has patterns tested with random devs on the dashboard and nps, which were then built into that project).
we should discuss these probably:
--build
andreferences
sections appropriately embedded into the sub-projecttsconfig.json
filesadditional things that we might want to build in
we should discuss these maybe:
io-ts
on vibecheq and it works well)/api/v1/my/endpoint
) together between backend/frontend (see the "routes" workspace in vibecheq, which should feel familiar from the dashboard)food for thought: in general, it feels like in order to solve this, we need to find a good way to make a generic version of CRA with any opinions built in. a "create-create-react-app" if you will. if you solve that, that could be a very cool open source project for us, because we could use it internally, but other consulting companies would probably enjoy creating their specific flavor of CRA too. this isn't to say this should be our goal, because getting something usable for us, first, is the goal.