mbakin / assignment-frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool




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

About


Languages

Language:JavaScript 74.8%Language:CSS 20.2%Language:HTML 4.0%Language:Dockerfile 0.9%Language:Shell 0.2%