You're sections headers will be used to reference location of destination.
Portal for sharing your experiences from restaurants, bars and other gastronomy facilities visited by you and others. Application is equipped with interactive map and markers for easier searching places in your area. Users can also search, browse and comment reviews of other users. Moderators have access to all the reviews with the ability to accept, reject, delete and edit them. Admin of the portal have dedicated view for managing users and all above.
NOTE: All of UI is written in Polish!
- Django
- Angular 8
- Docker
- PostgreSQL
Application uses docker compose for easy and quick setup. Follow those simple steps.
Create .env file in the root of the project directory and fill with your credential as below:
SECRET_KEY=<secret key for web app>
BACKEND_ALLOWED_HOST=<domain/ip>
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_DB=<postgres db>
POSTGRES_USER=<postgres user>
POSTGRES_PASSWORD=<postgres password>
USER_AGENT_API=<Agent to get location data from Nominatim>
PORT=80 docker-compose -f docker-compose-prod.yml -p prod up -d
PORT=6789 docker-compose -f docker-compose-prod.yml -p dev up -d
docker-compose -f docker-compose-dev.yml up -d
Get into web container.
docker exec -it prod_backend_1 bash
Run django shell
python manage.py shell
Create admin object
from users.models import User, Role
admin = User.objects.create_user(email='[email protected]', password='admin1234', first_name='Admin', last_name='Admin', birth_date='1990-03-11', role=Role.ADMIN)
exit()