@elioway/flesh

1.2.3 • Public • Published

flesh

Can you get this done by Wednesday? Rosalind Codrington

An SinglePageApp consuming the bones REST API - to put some flesh on dem bones.

Requirements

Dev Steps

mkdir flesh
cd flesh
yo flesh
gulp

Seeing is believing

git clone https://gitlab.com/elioschemers/thing/
cd thing
npm install
gulp

Add test data

curl -X GET http://localhost:3030/engage/Thing
[]
curl -X POST http://localhost:3030/engage/Thing \
    -d name='Thing 1' \
    -d disambiguatingDescription='Disambiguating the first thing we ever added'
curl -X POST http://localhost:3030/engage/Thing \
    -d name='Thing 2' \
    -d disambiguatingDescription='Disambiguating the second thing we ever added'      
curl -X GET http://localhost:3030/engage/Thing
[{name: Thing 1, ...}, {name:Thing 2, ...}]

Quick npm Publish and git Push a folder.

git add .
git commit -m "generator sin"
npm version patch
npm publish
git push

Reflesh (test the generator)

git checkout -b reflesh
git checkout reflesh
rm -rf *
git add .
git commit -m "refleshing..."
git push

rm -rf *
yo flesh
gulp
rm -rf *
yo flesh
gulp

Repeat until you flesh as expected from a yo flesh call, then

git add .
git commit -m "refleshed"
git push
git checkout master
git merge reflesh
git commit -m "refleshed"
git push

Credits

Core! Ta Very Much

These were useful

Other

License

MIT/HTML5 Boilerplate © Tim Bushell

elioway

Package Sidebar

Install

npm i @elioway/flesh

Weekly Downloads

2

Version

1.2.3

License

MIT

Unpacked Size

536 kB

Total Files

126

Last publish

Collaborators

  • timitee