- Simple Django api project with angular front with materialize for quickstarting a project with user login and logout, in a single page webapp style
- version 0.1
-
Setup:
-install api requirements
pip install -r requirements.txt
- create and activate your virtualenv for project
- create db
./manage.py migrate
- create a superuser
./manage.py createsuperuser
- install front depedencies
cd front
npm install
-
Running
- api back
./manage.py runserver 0.0.0.0:8080
- front
cd front
ng serve
-
Running with nginx
- add conf/nginx/angular-django.conf to /etc/nginx/conf.d
-
Configuration (no real configuration for now)
-
Dependencies (requirements.txt and package.json)
-
Database configuration
-
How to run tests (no test for now)
-
Deployment instructions (no real deployement for now)
- Writing tests ( to do )
- Code review ( to do )
- Other guidelines ( to do )