Welcome to Pet Overload, a question and answer app for pets paying homage to Stack Overflow.
You can find the documentation on our Wiki.
/all-questions
: View questions/all-questions/ask-a-question
: Add a question/all-questions/:id
: Edit and delete a question
/all-questions/:id
: View, edit, delete, and create answers for a question
Search functionality is available on all pages based on three parameters:
- Author
- Score
- Keyword
/all-questions/:id
: Create, read, delete, and update answer votes
/all-questions
&/all-questions/:id
: Create, read, delete, and update question votes
/user/profile
: View your personal profile page including your reputation, all questions, all answers, and all votes. Allows sorting and deleting of questions, answers, and votes/users/:id
: View other users' profile page, implementing the same functionality as/user/profile
- React
- Redux
- Redux Toolkit
- Dompurify
- Draft.js
- Fontawesome
- CSS
- HTML
- JS
- JSON
- Python 3.9.6
- python-dotenv
- Flask
- Flask-Cors
- Flask-SQLalchemy
- Flask-WTF
- Jinja
- Werkzeug
- Flask-Migrate
- Flask-Login
- Alembic
- Pytest
- DATABASE_URL: Must begin with
postgresql://
or the build will fail - Flask_app:
app
- FLASK_ENV:
production
- PYTHON_VERSION:
3.9.6
- REACT_APP_BASE_URL: Add your base URL
- SCHEMA: Add your schema name
- SECRET_KEY: Add your secret key
npm install --prefix frontend && npm run build --prefix frontend && cd backend && ls && pip install -r requirements.txt && pip install psycopg2 && flask db upgrade && flask seed all
- Restart your PostgreSQL for caching errors
- Rename the schema if necessary
- Double check all environment variables and build error logs
cd backend
pipinstall -r requirements.txt
pip install psycopg2
flask db upgrade
flask seed all
cd frontend
npm install
npm start