Skip to content

akt12345/petpeevedtrest

Repository files navigation

Pissedtrest

logo


Overview

Pissedtrest is a Pintrest clone...Instead of pinning things you like, you pin things you HATE. For all those times when people hang toilet paper wrong, take up two parking spaces, or make products that don't work properly... Here is your place to vent about it.


Check out the app running on heroku here: https://pissedtrest.herokuapp.com/


Screenshot

Screenshot


Design Team

  • Alan Drake - Front-end
  • Trish Mederos – Back-end and testing
  • Grant Stolz – Team Lead , Back-end development
  • Abby Thoresen – Front-end, Logo design

Technologies used

Built With

  • Sublime Text - Text Editor
  • Visual Studio Code - Text Editor
  • Bootstrap
  • MySql Workbench

Running Tests

Before you begin testing make sure you download the repository for Pissedtrest from GitHub. Install all the dependencies you need for the project and navigate to the working directory and do the following in your terminal

Step 1

npm install

The above command will install all the dependencies you need

Step 2

Create test database in MySQL. Log into MySQL and run the test_schema.sql script to create the test database

Step 3

Start GitBash terminal, run:
NODE_ENV=test node server.js

The above command will start the server using the test environment variables. The config object should print in the terminal, to show that the correct variables are being used. If you see "Sequelize listening on PORT 3000" in your CLI, then you're good to go.

Step 4

Open a new GitBash instance and navigate to the working directory for Pissedtrest.

In the terminal type:

npm test

The test file test.pin.js will drop and recreate the tables in the database_test database. It will insert data into the user, pin, and board tables and query the inserted data from the tables.

Step 5

To run the browser test you run the file browser.test.js by typing the following command.

npm run test:browser

This test will produce an output file in the working directory named login.png. This file will be an image of the login screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published