Giter Club home page Giter Club logo

pawster-capstone-my-copy's Introduction

PAWSTER CAPSTONE PROJECT

We created this project to connect users with shelters in the hopes that they will foster their preferred shelter animal. The user will log into their account using Google Authentication. After clicking on the Explore button on the home page, they will be directed to a page where they can swipe right (add animals to their likes) or swipe left (view next animal). Also on this page is a button where users can click and be redirected to a page showing their liked pets and more information on each pet.

My Contribution

The main contribution I made in this project is on the explore page. I used react-tinder-card npm package to make the Tinder card swiping functionality. Where swiping Left will move the shelter animal away to show the next animal, and swiping Right on the tinder card will send the info to the database. This changes the pet to become a liked pet so that the user can view their liked pets on the liked pet page. I also worked on the styling of our home page to make it modern and make sure that the Navigation bar is dynamic (Changes depends on the page the user is currently viewing)

Screenshot 2022-12-19 at 9 47 27 PM

Getting Started

Project Structure

├── README.md (what you are currently reading)
├── back-end (a basic express app)
├── front-end (a basic create-react-app)
└── package.json (necessary boilerplate for heroku deployment )

NOTE: - You will have 3 package.json files in this project

  • Top level - necessary for heroku deployment: you don't need to do anything with this file, it is set up for you
  • back-end - everything to do with the express/postgres backend
  • front-end - everything to do with the create-react-app front-end

Basic App

  • Fork this repo
  • git clone the forked repository

/front-end

  • cd front-end
  • npm install

/back-end

  • cd back-end
  • npm install
  • touch .env

make sure you are on the same level as the package.json of the back-end directory

  • touch .env
PORT=3333
PG_HOST=localhost
PG_PORT=5432
PG_DATABASE=postgres
PG_USER=postgres
PG_PASSWORD=""
  • npm run db:init
  • npm run db:seed

Test app locally.

Fix bugs.

When you are ready, deploy this app.

pawster-capstone-my-copy's People

Contributors

ziqianpan avatar vlopez515 avatar ametzamaldonado avatar olayinka19 avatar jamalruiz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.