Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andyatkinson/freezer-frontend
https://github.com/andyatkinson/freezer-frontend
create-react-app javascript nodejs onsen-ui react redux
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andyatkinson/freezer-frontend
- Owner: andyatkinson
- Created: 2020-04-20T18:52:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T20:44:36.000Z (about 4 years ago)
- Last Synced: 2024-10-10T03:41:45.148Z (about 1 month ago)
- Topics: create-react-app, javascript, nodejs, onsen-ui, react, redux
- Language: HTML
- Size: 39 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Freezer Frontend
[React](https://reactjs.org/), [Redux](https://redux.js.org/), [Onsen UI](https://onsen.io/)
### Local Development
Manage dependencies with Yarn
```
nvm use v12.9.1
yarn install
yarn start
```### Backend
Back-end service should be running at `localhost:1323`
### Heroku
In production, service should be available at: , e.g.
```
$ curl -H 'Content-Type: application/json' https://freezer-stuff.herokuapp.com/items
```#### Listing Items
```
$ curl -H 'Content-Type: application/json' localhost:1323/items
```#### Creating Items
```
curl -d '{"name":"item","addedOn":"2020-01-01"}' -H 'Content-Type: application/json' localhost:1323/items
{"name":"item","addedOn":"2020-01-01"}
```