Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.01 KB

README.md

File metadata and controls

59 lines (39 loc) · 2.01 KB

pawfinder-static

for Pet Lovers

Making the process of finding your pawfect friend through adoption / rescue agencies quicker by compiling all information in one application.

Availability of pets within organizations is dependent on the city and agency. It can become a very lengthy process to sift through multiple websites to view all options. On top of the extensive search, altogether with the requirements to adopt/rescue animals, it can be a very taxing operation. Why make the process longer than it should? This application makes the initial steps easier and hopefully speeds up the search in order to match the perfect pet to the perfect owner.

You have the ability to refine your search by submitting your preferences and it will populate all available information according to your settings. Additionally, users have the ability to manually search for pets as well.

Front-End Built with Create-React-App SASS - Syntactically Awesome Style Sheets

Installation Follow these steps to run a local instance of PawFinder: (you'll require node, npm and MySQL already installed)

  1. Clone this repo

Back-end setup: 2. Create a new database in MySQL called token and users

  1. Install server dependencies a. Run npm install from inside the server directory. $ cd server $ npm install axios jsonwebtoken express cors

  2. Run Migrations $ npx migrate:latest

  3. Run seeds $ npx knex seed:run

  4. Set up environment variables: Rename .env_sample to .env and change placeholder values with your own. PORT=8080 JWT_SECRET= DB_HOST= DB_USER= DB_PSWD=

  5. Start the server: $ npx nodemon server.js

Set up Front-End: 8. Install client dependencies a. run npm install from inside the client directory. $ cd ../client $ npm install sass [email protected] axios jsonwebtoken

  1. Start React-App $ npm start