/form

Primary LanguageJavaScript

Fliit Admin (Frontend Challenge)

Running the project

Within the directory where you want to install the app:

git clone https://github.com/jasonfellows/form.git
cd form
npm i nodemon -g
npm i concurrently -g
yarn
yarn dev

Servers

The servers should start at the following addresses:

Frontend

The frontend part of the project should be developed inside the client directory.

Backend examples

Creating a task

curl -X POST -v -d '{"delivery_at":"2017-01-01", "recipient":{"name":"User","zipcode":"10249","street":"Test 23","city":"Berlin","state":"Berlin","country":"germany","phone":"+49 176 22222222"}}' -H "Content-Type: application/json" http://localhost:5000/tasks

Listing tasks

curl http://localhost:5000/tasks

Listing allowed countries

curl http://localhost:5000/countries