Skip to content

CobeyH/Tandem-Ride-Share

Repository files navigation

Tandem.

Carpooling made easy.

Carpooling made social.

Check out our live application page at: ride-tandem.ca

Watch the demonstation video here

Members

Contact us with a bug or suggestion by making an issue.

Checkout who built this application on our wiki

Milestones

Presentations

Milestone 1

Milestone 2

Milestone 3

Contributing

Try to make an issue before trying to fix it, you may find someone is already on it!

Barring that, make a pull request with your changes - we prefer, although do not enforce, a linear git history.

Someone should come along and review your code, if it looks good your changes should be live as soon as they are merged!

Dependancies

All that is needed to run it is node. Make sure to add it is on your PATH.

Installing Node

Of course downloading node off thier site and using their installer is an option. But I recommend using

Windows - chocolatey

MacOS - brew

Linux - whatever package manager your distro comes with

Verifying install

Run node --version in a terminal. The output should look something like

[marcus@fedora ~]$ node --version
v16.13.2

Hitting MapQuest Api

This app relies on the MapQuest API for some features, in order to use them acquire a key from here and create an .env file in frontend with REACT_APP_MQ_KEY=<YOUR KEY>.

Running a Development Server

While in the frontend directory run npm install to install dependancies.

This application uses Firebase services that need to be emulated locally. Run npm run emulators to start the emulators. You can view the firebase console at localhost:3001.

To start developing run npm start. This should open your default browser to the application. Change a file and save it and the application should reload.

Setting Up Testing

This project is tested using Cypress. The tests can be run locally by linking to the Firebase emulators.

To begin, create a new service account in the firebase console. Add the path to your serviceAccount.json file into your GOOGLE_APPLICATION_CREDENTIALS environment variable.

You will also need the UID of a testing user to authenticate your tests. Create a cypress.env.json file and add the UID of your user to the TEST_UID json key.

Running the tests

First run npm run emulators:CI to run the emulators using the testing data in cypress-emulator-data. Next run npm start to start the application. Finally run npm run cypress to start cypress and select the spec files you want to test.

License

We're GPL-3.0 licensed, if you don't like the license in its full glory, this is a nice synopsis.

About

Streamline carpool logistics with our React app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published