Skip to content

joshuaSmith2021/csc307-stuffex

Repository files navigation

csc307-stuffex

Check out our deployment!

Description

StuffEX is a full-stack application running a React.js frontend and an express backend, using MongoDB for persistant storage. To read about the product vision, check out our about page.

Contributing

Style Checker: Please run npm run format from the project root before committing changes.

Linter: Please follow default configurations of ESLint
(Rules Reference: https://eslint.org/docs/latest/rules/ and Formatters Reference: https://eslint.org/docs/latest/use/formatters/)

UI Prototype

Check out the Figma boards for UI prototypes. Last updated: 12-1-23

Class Diagram

Here is our original [UML Diagram!] (https://github.com/KeithJLZ/csc307-stuffex/blob/main/diagram.md)

Getting Started

After cloning the repository, navigate to the project root and run npm install.

Frontend Setup

By default, the frontend will connect to the production backend server running on Azure. If you would like to run the frontend with your local development server, change the frontend's AppConfig.js such that backendRoot is set to http://localhost:8000 (or whichever port/host you are running a dev server on).

Backend Setup

To run the backend, you need to set two environment variables. Set MONGODB_URI to a connection string with credentials AND specify the stuffex database in the string. You must also set TOKEN_SECRET to a string used to hash passwords.

Running

To run either the frontend or the backend, run npm run start -w stuffex-frontend and/or npm run start -w express-backend.

Sprint Planning, Backlog, and Issues

Due to issues when setting up CI/CD, this is actually a fork of our original repo! Our project board is over there. Check it out

Tests

Component Test

https://github.com/KeithJLZ/csc307-stuffex/blob/component-test/packages/stuffex-frontend/src/App.test.js

E2E Test

https://github.com/KeithJLZ/csc307-stuffex/blob/main/cypress/e2e/stuffex-e2e.cy.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •