Getting Started
This is a basic ToDo App that I developed for Modanisa Tech's Technologist Challenge. Mainly built with React.js for frontend, Express.js for backend.
The application only performs the add todo item.
This repo contains only frontend codes.
Installation
Use the package manager npm and Node.js to install.
Install the dependencies and devDependencies and start the server.
gh repo clone mbakin/modanisa-frontend
cd modanisa-frontend
npm install
Aviable test scripts:
"test" : "npm run test:unit && npm run test:integration ",
"test:unit": "react-scripts test __tests__/unit/*.js",
"test:integration": "react-scripts test __tests__/integration/*.js",
npm run test
& npm run test:unit
& npm run test:integration
You can start localhost:3000
npm start
CDC test scripts: If you want to test CDC, you must go to this file directory
cd modanisa-frontend
cd modanisa-frontend/cdc-test/
npm install
Aviable scripts for CDC:
"scripts": {
"test:consumer": "mocha consumer.js --timeout 20000",
"test:provider" :"node provider.tests.js"
},
You can run npm run test:consumer
& npm run test:provider