Skip to content

front end code for reference (full code lives in private repository) to connect dog owners and pet service providers. Built with React

Notifications You must be signed in to change notification settings

lfr4704/PetStory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live application

Owners screen connected to API http://pet-story.herokuapp.com/owners/14/feed/

in construction

in construciton, backend code does not live in this repository

Getting setup

git clone git@github.com:ReaderVision/PetMockApi.git
cd PetMockApi/
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
./manage.py migrate
cd frontend
npm install

Running the server

source venv/bin/activate
./manage.py runserver

Getting setup with windows and cmd (not SSH)

git clone https://github.com/ReaderVision/PetMockApi.git
cd PetMockApi/
virtualenv env -p {python executable file directory, ex: C:\\Users\\Debbie\\AppData\\Local\\Programs\\Python\\Python36\python.exe}
env\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
cd frontend
npm install

Running the server with windows

env\Scripts\activate
python manage.py runserver

Running the frontend

cd frontend
npm run start

Linting

Before you can commit, npm run lint occurs. If there are lint errors, you can fix some with npm run fix-lint. However, some will need to be resolved manually. To ignore a lint error for a specific line, you can add // eslint-disable-line name-of-the-lint-error to the end of it. However, this is not advisable without good reason.

About

front end code for reference (full code lives in private repository) to connect dog owners and pet service providers. Built with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published