Skip to content

This project is created for learning the basics of DRF(Django Rest Framework), especially creating and reading using nested serializers.

License

Notifications You must be signed in to change notification settings

maryantocinn/course-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Course Management

This project is created for learning the basics of DRF(Django Rest Framework), especially creating and reading using nested serializers.

Tech

This project uses:

  • Django 2.2
  • DjangoRestFramework 3.9.2
  • Vagrant

Installation

This project requires:

  • Vagrant
  • VirtualBox

Run Vagrant

vagrant up
vagrant ssh
cd /vagrant

Create and activate Python virtual environment

python -m venv ~/env
source ~/env/bin/activate

Install the dependencies from requirements.txt

pip install -r requirements.txt

Development

Run server

python manage.py runserver 0.0.0.0:8000

Migrate:

python manage.py makemigrations
python manage.py migrate

In this project, Vagrant will map port 8000 in the VM to port 8001 in local machine. You may change this within the VagrantFile if necessary.

Verify the deployment by navigating to your server address in your preferred browser.

127.0.0.1:8001

License

MIT

About

This project is created for learning the basics of DRF(Django Rest Framework), especially creating and reading using nested serializers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages