This project was bootstrapped with Create React App.
Pet Passport is an app to help you stay on track with keeping your pets healthy & thriving! With these tips, encouragement, and reminders, your pets have never been better! Have fun! Making changes in the branch.
- Ability to log in and create different authenticated user profiles
- Ability to add a new pet, delete it, and store pet vital information
- Ability to track past and upcoming appointments & treatments
- Ability to post enjoy uploaded pictures of your pet
-
Run
npm installin project directory. This will install server-related dependencies such asexpress,bcrypt,leaflet,express-fileupload. -
cd clientand runnpm install. This will install client dependencies (React).
- Access the MySQL interface in your terminal by running
mysql -u root -p - Create a new database called passport:
create database passport - Add a
.envfile to the project folder of this repository containing the MySQL authentication information for MySQL user. For example:
DB_HOST=localhost
DB_USER=root
DB_NAME=passport
DB_PASS=YOURPASSWORD-
You will also need to store your leaflet API key and your
API_KEY=and your bcrypt secret keySUPER_SECRET=. These will allow for login and access to protected map data -
Run
npm run migratein the project folder of this repository, in a new terminal window. This will create 7 tables called 'users', 'pets', 'vets', 'treatments', 'diet','grooming', and 'images' in your database.
- Run
npm startin project directory to start the Express server on port 5000 - In another terminal, do
cd clientand runnpm startto start the client in development mode with hot reloading in port 3000.
- Run
npm install emailjs-comin new terminal window to import module or the required method.
import{ init } from 'emailjs-com';
init("yourUserId");- React
- React Router 6
- Reect File Upload
- React Select Country List
- React boostrap
- MySql
- JSON web token
- bcrypt
- dotenv
- axios
- express
- Nodemon
- CSS
- (...)
- In the future, this app could have a community posts board or messaging feature
- It could have different types of users/ access-- vets, pets stores, sitters, etc.
- It could track favorite locations or upcoming events on the map feature
- It could have calendar and reminders for appointment maintenance
- The map could also have a search bar
This is a student project that was created at CodeOp, a full stack development bootcamp in Barcelona.

