1.0.10 • Published 2 months ago

onchainsurveys v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

What is Onchain Surveys

Onchain Surveys will allow users to create public surveys to collect opinions from the blockchain communities to let the community make decisions and provide sentiment in a decentralized manner.

Navigate to the api folder from your terminal screen and run the following command.

You should have a mongodb account. The URI connection string needs username, password and cluster name with attached id. If not, create an account and get the uri string from https://www.mongodb.com/

Change the mongodb fields according to you in the .env file in the api folder.

Run the following code on the terminal screen and visit the http://localhost:8800 link.

Navigate to the client folder from your terminal screen and run the following command.

and then visit http://localhost:3000

Add the following codes to your .htaccess file.

We use Cypress for testing the portal's critical functionality. In order to run the test suite, you will need to copy the example cypress.example.json to cypress.json and enter your variables. Then after a successful build, npm run cypress-run for a headless unit test, or npm run cypress-open for a more detailed test interface.