dezadkins / Pet-Portal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to Pet Portal

Description

Pet Portal allows you to track and document all of your pets health and life events. You're able to keep track of appointments(vet, groomer, boarding, petsitter etc). It also allows the owner to log vaccines, medications, weight and length to keep track of their pets health. Lastly allows owners to upload images for important milestones/events.

Demo

Here is a working live demo: https://octour.herokuapp.com

Built With

Nodejs html5 CSS Heroku PostgreSQL Sequelize Express

Splashpage

Homepage

Pet Overview

Pet Health

Pet Growth

Pet Events

Backend

Database Schema

Usage

Development

Want to contribute?

To fix a bug or add a feature, follow these steps:

  • Fork the repository
  • Create a new branch with git checkout -b feature-branch-name
  • Make appropriate changes to the files and push back to github
  • Create a Pull Request
    • Use a clear and descriptive title for the issue to identify the suggestion.
    • Include any relevant issue numbers in the PR body, not the title.
    • Provide a comprehensive description of all changes made.

Setting Up and Starting a Local Server

  1. Download code and npm install to install all node dependencies
  2. Create a psql db user with createdb privileges.
    • Duplicate the .env.example for the dotenv package.
    • Update the following variables:
      • PORT the port that the server will listen to, 8080 by default
      • DB_USERNAME the user of the created psql db user
      • DB_PASSWORD the password for the psql db user
      • JWT_SECRET a session secret key for encrypting session id's in the database
      • All other variables should remain the same
  3. Setup PostgreSQL database
    • Run npx dotenv sequelize db:create
    • Run npx dotenv sequelize db:migrate
    • Run npx dotenv sequelize db:seed:all
  4. Start express server by running npm start in the root project directory
  5. The server will start on http://localhost:8080

About


Languages

Language:JavaScript 76.1%Language:CSS 23.0%Language:HTML 0.8%