Web Application created as a project for MSU Denver's Fall 2023 Senior Experience Course. Authors are Sarah Barnes, Brea Chaney, Erika Sadsad, Jessica Gardner, Alyssa Williams
TEAM: Please see our Teams channel documentation for more detailed instructions about each section.
Environment Variables Needed:
- POSTGRES_PORT, POSTGRES_DB, POSTGRES_USR, POSTGRES_PWD, POSTGRES_HOST, POSTGRES_URL, PGADMIN_DEFAULT_EMAIL, PGADMIN_DEFAULT_PASSWORD
you must have Docker Compose installed and running.
run the command:
docker compose up
head to https://localhost:3000/ in your browser. That's it!
This project contains access to Pg-Admin, a GUI tool for accessing our database in local development.
Make sure container is running, and head to http://localhost:16543/
Login
(can be changed in environment variables)
username: example@email.com
password: 123fakepassword
A linter ensures that code conforms to best coding practices. This project supports linting for JavaScript, HTML, CSS and SCSS.
Then while inside the application container, run the linter for either .js files or .html files:
npx eslint yourfile.js/html
NOTE: You can lint all files by running:
npx eslint .
npx eslint yourfile.js --fix
NOTE: You can lint/fix all files by running:
npx eslint . --fix
From inside the container, run the following command to lint either .css or .scss files:
npx stylelint path/myFile.css/scss
npx stylelint path/myFile.css/scss --fix
You may need to run following command inside the app-1 Docker container.
npm install swagger-ui-express swagger-jsdoc
Inside app docker container, run
npm run start
Go to Swagger API docs in https://localhost:3000/api-docs/
npm run coverage
npx nyc --reporter=lcov --reporter=text mocha "tests/**/*.js" "src/**/*.js" --exit