This project allows anyone to see and leave reviews for businesses without needing to create an account, thereby remaining anonymous. This project is built using Django and ReactJS. See below for quickstart instructions.
https://anonymous-reviewer-app.herokuapp.com/
Run the two commands below to update the resources
npm run build
python manage.py collectstatic --no-input
npm run build; python manage.py collectstatic --no-input; python manage.py runserver
python manage.py loaddata backend/fixtures/fixtures.json
To run celery ensure Redis is running and run the command
celery -A backend worker
Note: This project relies on postgresql being installed on your system There should be a database with a name, user, and password of 'anonymous_reviewer_django_react'
-
Create a Google Recaptcha key https://developers.google.com/recaptcha/docs/invisible and add it to the
keys.tsx
file (optional but needed for submitting data from website) -
Create a virtual environment (optional but recommended) https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
-
Install python requirements
pip install -r requirements.txt
- Install node modules
npm install
- Compile static resources
npm run build
python manage.py collectstatic --no-input
- Run migrations
python manage.py migrate
- Load testing fixtures
python manage.py loaddata backend/fixtures/fixtures.json
- Run server
python manage.py runserver
- The project should be running and accessible by going to localhost:8000
One example is to search for My Restaurant
which will have a variety of reviews
This project also contains the configuration to be deploy to Heroku (https://devcenter.heroku.com/articles/django-app-configuration). If you created a project in Heroku you should only need to set the git upstream and run git push heroku master
in order for this project to be run on Heroku. For further instructions please reference Heroku documentation.