In this repo you can see how to
- create one or more lists of elements,
- modify the position of each element through one or more lists, simply by clicking and moving it
- store the changes in the API
Tools used
-
React library react-beautiful-dnd
https://github.com/atlassian/react-beautiful-dnd -
Mongoose, Express, React, NodeJs, Axios
The design is basic and simple, so you can focus better on the code.
Before start:
-
a post request with empty body { } to http://localhost:3002/api/dndlist
-
a post request with empty body { } to http://localhost:3002/api/dndmultiple
https://github.com/giovannitakeshisesta/Drag-Drop_basic_front