Skip to content

fabiorecife/happy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

happy logo

AboutTechnologiesInstallUsageLicense

About


An application developed at Next Level Week # 3 to promote visitation to orphanages.

Technologies


Happy-server uses a number of open source projects to work properly:

Install

git clone git@github.com:fabiorecife/happy-server.git
cd happy-server
yarn install
yarn dev

Usage

Create a Orphanage

curl --request POST \
--url 'http://localhost:3333/orphanages?search=fabio' \
--header 'content-type: multipart/form-data; boundary=---011000010111000001101001' \
--form 'name=Lar das meninas' \
--form latitude=-8.0513805 \
--form longitude=-34.937919 \
--form 'about=sobre o orfanato' \
--form 'instructions=venha visitar' \
--form 'opening_hours=Das 8h até 18h' \
--form open_on_weekends=true \
--form images=@/path/to/file1 \
--form images=@/path/to/file2    

List Orphanages

curl --request GET \
--url http://localhost:3333/orphanages

License

MIT

About

Backend to application happy-web developed at Next Level Week # 3 to promote visitation to orphanages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors