Skip to content

After signing up for an account, a member of the Pocket DIY app will calculate the area given the inputted dimensions of a geometric shape such as a square, circle, rectangle, sphere, and many more!

Notifications You must be signed in to change notification settings

coreyspratlan/PocketDIY

Repository files navigation

pocketDIY

pocketDIY Heroku Link

https://pocketdiy.herokuapp.com/

BEFORE YOU BEGIN

  1. Run db/schema.sql to create your database
  2. Make sure to create a .env file and copy the contents of .env.example into it.
  3. In the .env file replace the ???? for SESSION_SECRET and set your db credentials in LOCALDB_URL it should look something like this
SESSION_SECRET=SomethingBesidesKeyboardCat
LOCALDB_URL=mysql://root:dbpassword@localhost:3306/Project2Dev

NOTE Do not check in your .env file into source control, it is particular to your environment.

Scripts

Install

npm install

Run (production)

npm start

Run (dev)

npm run watch

Tests (includes linting)

npm test

Linting by itself (only detects errors)

npm run lint

Autofix linting errors where pssible (Note: this will not necessarily fix all of them)

npm run fix

Using the App

Signing in

Choose a unique email address and a password. Make sure to save the password somewhere in case you forget it.

Landing Page

On this page you will see options for shapes to choose, as well as the 'Home', 'Project', and 'Logout' buttons.

Shape Page

This page will allow you to input the dimension and unit of the desired shape. Once it is entered, your mathmatical results will be displayed and you can input a project name and save it for later.

Projects Page

Displayed on this page is all of your saved projects. A brief synopsis of information, the shape, and a delete button is provided.

Associated Links (requires you to be logged into github):

[Project Requirements](https://github.com/the-Coding-Boot-Camp-at-UT/UTA-AUS-FSF-FT-06-2020-U-C/blob/master/01-Class-Content/15-Project-2/02-Homework/README.md

Deployment w/ Sequelize

About

After signing up for an account, a member of the Pocket DIY app will calculate the area given the inputted dimensions of a geometric shape such as a square, circle, rectangle, sphere, and many more!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •