8000 GitHub - Klarala13/TradingCards
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Klarala13/TradingCards

Repository files navigation

### Download repo and run npm install

### For ios: npx ex
640B
po run:ios

Json Web Server:
To start server run `npm run backend-start`
Now if you go to http://localhost:3000/collections/, you'll get the collections

Also when doing requests, it's good to know that:

If you make POST, PUT, PATCH or DELETE requests, changes will be automatically and safely saved to db.json using lowdb.

### Your request body JSON should be object enclosed, just like the GET output. (for example {"name": "Foobar"})
Id values are not mutable. Any id value in the body of your PUT or PATCH request will be ignored. Only a value set in a POST request will be respected, but only if not already taken.

### A POST, PUT or PATCH request should include a Content-Type: application/json header to use the JSON in the request body. Otherwise it will return a 2XX status code, but without changes being made to the data.

You can launch your app on an Android Virtual Device by running npm run android, or on the iOS Simulator by running npm run ios (macOS only)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0