- Django LTS
- Class Based views (ApiView)
- Django RestFramework
- User authentication
- Black
- Flake8
- Responsive Design
- Bootstrap5
- heroku
To get this repository, run the following command inside your git enabled terminal
git clone https://github.com/AliBigdeli/Django-Smart-RFID-Access-Control.git
The first time you run this it's going to take 5-10 minutes depending on your internet connection speed and computer's hardware specs. That's because it's going to download a few Docker images and build the Python + requirements dependencies.*
For Development:
docker compose up --build -d
For Actual Usage:
docker compose -f docker-compose-stage.yml up --build -d
Once the server is up and running, head over to http://127.0.0.1:8000 if you ran it in dev mode or else use your localhost or the server ip address for the App.
Project it self has the user creation form but still in order to use the admin you need to create a super user.you can use the createsuperuser option to make a super user.
docker compose -f docker-compose-stage.yml exec backend sh -c "python manage.py createsuperuser"
If you want your code to be check by pep8 and all the guide lines, there are two packages added to requirements in order to check and reformat code. you can use it by this command:
black -l 79 . && flake8
A simple view of the project model schema.
Feel free to let me know if there are any problems or any request you have for this repo.