GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - IDinsight/surveystream_react_app: React front end for the SurveyStream web application

BranchesTags
Open more actions menu

Latest commit

 

History

629 Commits
629 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cypress/results
cypress/results
 
 
docker-compose
docker-compose
 
 
e2e
e2e
 
 
public
public
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.env.development
.env.development
 
 
.env.production
.env.production
 
 
.env.staging
.env.staging
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
Dockerfile.client
Dockerfile.client
 
 
Dockerfile.ecs.client
Dockerfile.ecs.client
 
 
Dockerfile.test
Dockerfile.test
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
cypress.config.ts
cypress.config.ts
 
 
cypress.env.json
cypress.env.json
 
 
nginx.default.conf
nginx.default.conf
 
 
nginx.ecs.conf.template
nginx.ecs.conf.template
 
 
nginx.test.conf
nginx.test.conf
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tailwind.config.js
tailwind.config.js
 
 
task-definition.json
task-definition.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

SurveyStream FrontEnd

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Running on docker

To deploy the react app on docker, use the following commands

make image make container-up

E2E Testing

Testing for E2E has been setup using cypress, to setup this locally setup a cypress.env.json file on the root folder. Include the following key values using a valid account email and password for the dev environment.

{ "TEST_USER_EMAIL":"", "TEST_USER_PASSWORD":"", "TEST_APP_URL":"http://localhost:3000", "TEST_BASE_API_URL":"http://localhost:5001/api", "TEST_USER_ID": "19945" }

To run E2E tests use

npm run cypress:run-all

Running E2E on Docker

  • Clone the backend code using git clone https://github.com/IDinsight/surveystream_flask_api.git
  • Run make login
  • Run make image-test to build the images. This will build both frontend and backend
  • Run make test-container-up to start docker containers
  • Run make test-container-down to remove the docker containers

To add new packages to cypress:

  • Change directory to e2e
  • Run npm install <package>

About

React front end for the SurveyStream web application

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

1 star

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.