diff --git a/.gitignore b/.gitignore index c929f1a..f89f94b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ app/ .env node_modules/ npm-debug.log -coverage/ \ No newline at end of file +coverage/ diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..8ab3485 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,3 @@ +{ + "esversion": 6 +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index e1c23a8..19bd3a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ cache: script: - npm start & - npm test +after_success: +- npm run test-with-coverage --token services: - http-server diff --git a/README.md b/README.md index 5f9f5ce..23c5dca 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ -# Send-IT -[](https://travis-ci.com/ipaullly/sendIT) +# Send-IT +[](https://travis-ci.com/ipaullly/sendIT) [](https://www.codacy.com/app/ipaullly/sendIT?utm_source=github.com&utm_medium=referral&utm_content=ipaullly/sendIT&utm_campaign=Badge_Grade) +The project was done while participating in the Andela Developer Challenge simulated sprint of the application bootcamp. This is an app that allows users to create accounts and make delivery orders. The front-end was built using vanilla javaScript and consumed endpoints built with python/flask. - +The app is live on the github-pages [link](https://ipaullly.github.io/sendIT/index.html) for this repo. + ## Installation Clone the repository to your local machine ``` @@ -31,19 +33,18 @@ npm start ## Testing Tests run using **jest** and **puppeteer**. run the following command within the project folder to see the test coverage -> npm test +``` +npm test +``` +Alternatively view the [Travis-CI](https://travis-ci.com/ipaullly/sendIT) build report to view coverage. ## App features -- [ ] Users can create an account and log in. -- [ ] Users can create a parcel delivery order. -- [ ] Users can change the destination of a parcel delivery order. -- [ ] Users can cancel parcel delivery order. -- [ ] Users can see the details of a delivery order. -- [ ] Admin can change the **status** and **Current-location** of a parcel delivery order. - -## User Interface -The interface is available at -> [Welcome Page](https://ipaullly.github.io/sendIT/index.html) + - [ ] Users can create an account and log in. + - [ ] Users can create a parcel delivery order. + - [ ] Users can change the destination of a parcel delivery order. + - [ ] Users can cancel parcel delivery order. + - [ ] Users can see the details of a delivery order. + - [ ] Admin can change the **status** and **Current-location** of a parcel delivery order. ## Built Using 1.HTML diff --git a/about.html b/about.html index 9b42377..2649b14 100644 --- a/about.html +++ b/about.html @@ -54,8 +54,8 @@