civictec-fines

Technical test of the CivicTec company, which allows to administer the fines or citations issued by the police officers.

https://github.com/sebastiannarvaez23/civictec-fines

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Technical test of the CivicTec company, which allows to administer the fines or citations issued by the police officers.

Basic Info
  • Host: GitHub
  • Owner: sebastiannarvaez23
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 1.15 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme Citation

README.md

CITATION CIVICTEC

What is this project about?

This project aims to manage information related to fines, employees, and agencies of CIVICTEC. The program has interfaces for reading, editing, creating and deleting information. Additionally, it has functions to maintain privacy according to the access role of each user, as well as filters to facilitate the location of stored information generated through the use of this application.

How is this project built?

This project is constructed using the Django framework, HTML, CSS, and JavaScript. It employs the Django (model-view-controller) architecture, which ensures optimal performance, scalability, and the ability to add more functionality. It also features a small SQLite3 database, allowing for portability and easy access to information without the need for a separate database server. The application implements class-based views, reuses and extends pre-defined objects from the framework, resulting in cleaner, more maintainable code with fewer lines of code.

Initial configuration to start the server

Initially I left the sqlite database with some test records to test the application in a more practical way, and not have to perform additional configurations.

Steps to raise the project

  1. Create a PYTHON3 virtual environment to host the dependencies with the command $ python -m venv venv.
  2. Install the dependencies listed in the requirements.txt with the $ pip install -r requirements.txt command. It should be noted that you must be on the root path of the project.
  3. start the development server by running the manage.py file accompanied by the runserver statement $ python manage.py runserver.
  4. Rectify that the server is brought up by port 8000.
  5. Open a browser by accessing the path http://localhost:8000/

Within the environment variables (file .env), leave some test credentials that you can use, which have different permission roles to do the information access tests.

Endpoints

To review the documentation of the endpoints, you must enter http://localhost:8000/docs/ or visit http://localhost:8000/redocs/ in these pages you will find the documentation and the consumption of the endpoint of citations, and with this manage to create the citations. The first referenced link shows an interface which allows you to test the api without using postman or the browser. It should be noted that the server must be running for access to these links to be effective.

Interfaces

Main interface without authentication

image

Login authentication

image

Authenticated main interface with admin role

image

Interface that allows to manage the officials

image

Interface to create an officer

image

Admin panel interface

image

End Point Documentation

image

image

Owner

  • Name: Sebastian Narvaez
  • Login: sebastiannarvaez23
  • Kind: user
  • Location: Santiago de Cali, Colombia
  • Company: Coomeva S.A.

GitHub Events

Total
Last Year