https://github.com/ruferdz/frontend-training-heroku
https://github.com/ruferdz/frontend-training-heroku
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ruferdz/frontend-training-heroku
- Owner: RuFerdZ
- Created: 2022-07-12T10:25:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T14:41:20.000Z (over 3 years ago)
- Last Synced: 2025-01-20T06:15:08.524Z (over 1 year ago)
- Language: Python
- Size: 37.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Run Locally (Without Docker)
### Install and configure postgres SQL
1. Download and Install PostgresSQL locally and set it up to run with a superuser
2. In Ubuntu, `sudo su - postgres` to switch to postgres user
3. `psql`
4. `CREATE DATABASE demoappdb;`
5. `CREATE USER demoapp WITH PASSWORD 'demopassword';`
6. `GRANT ALL PRIVILEGES ON DATABASE "demoappdb" to demoapp;`
7. `ALTER ROLE miriam CREATEDB;`
8. `\q`
9. If you put the settings differently, change `settings.py` accordingly
### Setup Django
1. You need python 3.7.0 or higher
2. `pip -r requirements.txt`
3. `python manage.py migrate`
4. `python manage.py createsuperuser`
5. `python manage.py runserver`
## Boilerplate Features
* Custom User profile (you need to implement the registration service method)
* Email/SMS sending integrated
* For 2-step verification, check `intrview` codebase
## Postman Collection
(https://www.getpostman.com/collections/0fc70999e1d207602b34)[https://www.getpostman.com/collections/0fc70999e1d207602b34]
Updated collection - 07-07-2022: (https://www.getpostman.com/collections/da6ea8d568271eae71da)[https://www.getpostman.com/collections/da6ea8d568271eae71da]