项目作者: karoldavid

项目描述 :
React Admin Web Form
高级语言: JavaScript
项目地址: git://github.com/karoldavid/react-web-form.git
创建时间: 2018-02-08T13:26:16Z
项目社区:https://github.com/karoldavid/react-web-form

开源协议:

下载


React Admin Web Form

Creates a task and sends the form data to the backend.

Image of Admin Dashbord Create Task Form

Installing

  • Clone or download the repository
  • cdinto the project directory
  • Run npm install to install dependencies
  • cd into the client directory (./client/)
  • Run npm install to install dependencies
  • At the project’s root level run npm run dev to start the server and the app
  • In your browser’s address bar navigate to localhost:3000

Servers

The servers should start at the following addresses:

Backend examples

Creating a task

  1. 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

  1. curl http://localhost:5000/tasks

Listing allowed countries

  1. curl http://localhost:5000/countries

Built With

Author

  • Karol Zyskowski

Questions? Send an email to: k.zysk@zoho.com

License

This project is licensed under the MIT License - see the LICENSE.md file for details