Skip to content

scrodrig/pzaz-books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

Django and Vue Books

How to Run Servers

To run the servers for the project, follow these steps:

  1. Activate the virtual environment by running the following command:
virtualenv environment_3_10_4
source environment_3_10_4/bin/activate
  1. Install the required dependencies by running the following command:
cd pzaz_books_django
pip install -r requirements.txt
  1. Start the backend server by running the following command:
python manage.py runserver

Please note the following

Note

I did have a hard time trying to make the CRUD with uploading images, besides you could check in views, I do have the code there for the task (without images)

Important

I decided to go one step further to create a simple flow like an e-commerce page instead, using the admin console from Django to create books and the rest build in vue, you can create users there too, please do to see the cart functionality.

Tip

You can create new users, but if you don't, use: user: admin for Django or user:guest for vue-app, and password for bothpassword: pzaspzaz

Make sure to have Python, Django, and Node.js installed on your machine before running the servers.

How to Run Servers

  1. Install the required dependencies by running the following command:
cd pzaz_books_vue
npm install
  1. Start the server by running the following command:
npm run serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published