Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danilomeneghel/vuejs-python-django

Project in Python with Django and VueJS
https://github.com/danilomeneghel/vuejs-python-django

bootstrap css django jquery python restful sqlite vuejs

Last synced: about 1 month ago
JSON representation

Project in Python with Django and VueJS

Awesome Lists containing this project

README

        

# Products

Project of an products registration using Python with Django and VueJS.

## Features

- CRUD
- Active Record
- API RestFul
- Login
- Search
- Paginate
- Routes
- Migrate
- Responsive

## Requirements

- Python >= 3.7.0
- Django >= 2.1.2
- PIP >= 18.0

## Tecnologies

- Python
- Django
- CSS and SCSS
- Jquery
- VueJS
- Bootstrap
- SQLite

## Installation

```
$ git clone https://github.com/danilomeneghel/vuejs-python-django.git

$ cd vuejs-python-django
```

Download and install Python 3:

https://www.python.org/downloads/

PS: Set the environment variable pointing to the path of the Python installation.

Download and install PIP:

https://pip.pypa.io/en/stable/installing/

```
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python get-pip.py
$ python -m pip install -U pip
```

Then install the requirements of the 'requirements.txt' file:

```
$ pip install -r requirements.txt
```

After everything is done, migrate database and run the project:

```
$ python manage.py migrate
$ python manage.py runserver
```

Finally, open the project in your browser:

http://localhost:8000/

## Create new modules

```
$ python manage.py startapp name_module
```

## Create new migration (database table)

```
$ python manage.py makemigrations
```

## Routes

```
$ python manage.py show_urls
```

## Demonstration

You can see the system working by clicking the link below:

https://vuejs-python-django.herokuapp.com

- Login:
- Username: admin
- Password: admin

## API REST

Endpoint Products:

http://localhost:8000/api/product

## License

This project is licensed under The MIT License (MIT).

## Screenshots

![Screenshots](screenshots/screenshot01.png)


![Screenshots](screenshots/screenshot02.png)


![Screenshots](screenshots/screenshot03.png)


![Screenshots](screenshots/screenshot04.png)


![Screenshots](screenshots/screenshot05.png)

Developed by

Danilo Meneghel

[email protected]

http://danilomeneghel.github.io/