Skip to content

atiquzzaman/Campaign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov

Campaign

Campagin is a react application that demonstrates a list of campaigns.

Development environment setup

Then clone the repo. Run yarn to install dependencies. Run yarn start to start the application.

That's it. Application can be found running at the following URL: http://localhost:3000/

How does it work

After running the application, open browser console. For instance, on chrome press F12. Invoke the method AddCampaigns

Example of input parameter

AddCampaigns expect an array as parameter that should follow the following format.

[
  {
    "id": 1, "name": "Campagin 1", "startDate": "3/9/2017", "endDate": "4/12/2017", "Budget": 882
  }
]

How to run unit test

There are couple of ways to run unit tests:

  1. yarn test will run tests with coverage
  2. yarn test:watch will run test with watch mode
  3. yarn open:cov will open coverage report on browser

Deployment

Deployment can be done usng yarn deploy.

Working Demo

Here is the demo.

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published