Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"}
```