Test Task Web Development Do IT React
264
Create a git repository on github.com
Implement React + Redux + React router Architecture ( es6 required!!! )
Configure webpack.config.js: Babel + es6, Less to css compilation, Implement NORMAL PROJECT ARCHITECTURE (.gitignore, src, build, each component should be presented in separated files using es6 module system)
Create some simple markup (of course use routing for the pages, we create SPA): Authorization, Main page, About author
Draw simple map with point of your geolocation
Implement zoom in/out buttons on a map
Click on a map has to create a marker
Implement save and show buttons – save button saves all the created markers, show button – shows it
When clicking on the save button all markers should be sent to the server: Create a back-end (node.js + express + mongodb), Create a user api, Create an api to save location array, Create a GET request to fetch all saving markers, Authorization (Basic auth)
Create list with type of objects to be chosen (pharmacies, gas stations, schools, restaurants) so click on the list item has to draw markers on the map with the closest chosen objects
Server side:
Client side:
localhost
or you can specify other connection string in env MONGO_CONNECTION
or you can start mongoDB in docker container docker run --name mongo-server -p 127.0.0.1:27017:27017 -d mongonpm run dev-start (will start backend server on port 3090 and dev http server on port 3000)npm installnpm run build clientlocalhost
or you can specify other connection string in env MONGO_CONNECTION
or you can start mongoDB in docker container docker run --name mongo-server -p 127.0.0.1:27017:27017 -d mongonpm start (or you can specify port in env PORT)Docker image available in docker hub kengurukleo/test-task-js-react
localhostdocker pull kengurukleo/test-task-js-reactdocker -d -p 80:8080 kengurukleo/test-task-js-reactAll in one with docker-compose
curl https://raw.githubusercontent.com/KenguruKleo/test-task-js-react/master/docker-compose.yml > docker-compose.ymldocker-compose upnpm run testcoverageCurrent google API key is only for preview - in own projects please use self google API keys
Content type
Image
Digest
Size
376.1 MB
Last updated
about 9 years ago
docker pull kengurukleo/test-task-js-react