Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zahidalidev/survey-product
https://github.com/zahidalidev/survey-product
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zahidalidev/survey-product
- Owner: zahidalidev
- Created: 2022-09-13T20:28:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-17T04:54:15.000Z (about 2 years ago)
- Last Synced: 2024-10-12T10:18:23.168Z (about 1 month ago)
- Language: JavaScript
- Size: 1.55 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cancellation-Survey & Add-Product
## Requirements
For development, you will only need Node.js installed on your environment.
And please use the appropriate [Editorconfig](http://editorconfig.org/) plugin for your Editor (not mandatory).### Node
[Node](http://nodejs.org/) is really easy to install & now include [NPM](https://npmjs.org/).
You should be able to run the following command after the installation procedure
below.$ node --version
v14.20.0$ npm --version
v8.18.0#### Node installation on OS X
You will need to use a Terminal. On OS X, you can find the default terminal in
`/Applications/Utilities/Terminal.app`.Please install [Homebrew](http://brew.sh/) if it's not already done with the following command.
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
If everything when fine, you should run
brew install node
#### Node installation on Linux
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs## Install
$ npm install
## Start & watch
$ npm start
## Webpack build
$ npm run build
## Run webpack build
$ npm run serve
## Languages & tools
### JavaScript
- [React](http://facebook.github.io/react) is used for UI.
- [eslint](https://eslint.org/) for better code quality.
- [prettier](https://prettier.io/) for maintaining code quality in project.
- [react-testing-library](https://testing-library.com/docs/react-testing-library/intro) for testing React applications.### CSS
- [SCSS](https://sass-lang.com/) is used to write futureproof CSS in nested form.## Notes
- Implemented a survey to cancel membership.
- Implemented a form to add product.
- Added ESLint for consistency and better code quality.
- Added Basic Test Cases for components.## Future Work
- We can add detailed test cases.