Skip to content

Actually, trying to use this seperatre repo to handle the backend. I'll be deploying this to heroku.

License

Notifications You must be signed in to change notification settings

Youngestdev/choo-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running

export AUTH0_CLIENT_ID=AA...
export AUTH0_DOMAIN=your-subdomain.auth0.com
npm start

# get current recipes
curl localhost:8081

# get an $ID_TOKEN somehow
# insert recipe
curl -X POST localhost:8081 -h 'Authorization: Bearer '$ID_TOKEN -d '{
  title: 'Quick Tomato Sandwich',
  ingredients: 'Two slices of bread, ham, cheese, and butter',
  directions: 'Spread the butter on both slices, add cheese and ham, and enjoy.'
}'

About

Actually, trying to use this seperatre repo to handle the backend. I'll be deploying this to heroku.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published