Skip to content

An API developed with Django REST that provides library models and operations.

Notifications You must be signed in to change notification settings

castilhos90124/LibraryRestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LibraryRestAPI

This is the git repository for the Bravosul Backend Challenge!

Development Environment Setup

Cloning Project

  1. (Optional) You can install GitHub Desktop and clone from its interface to avoid ssh configuration.

  2. To clone, go to your desired directory and run:

git clone https://github.com/castilhos90124/LibraryRestAPI.git

VirtualEnv Setup

  1. To install your virtual environment, run these commands:
pipx install virtualenv
virtualenv --help
  1. To create your virtual environment, go to your project's directory and run:
virtualenv <virtualenv-name>
  1. To activate your virtual environment, run:
.\<name-to-virtualenv>\Scripts\activate
  1. After this, you should see your virtual env name in powershell.
(<virtualenv-name>) PS C:\Users\...
  1. To install Django in our virtual env, run:
python -m pip install Django
  1. To install Django REST Framework, run:
pip install djangorestframework
pip install markdown
pip install django-filter
  1. To create the database file, go to manage location folder and run:
python .\manage.py migrate
  1. Finally, to create a superuser, run:
python manage.py createsuperuser

Starting Server

  1. To start your local server, run:
python .\manage.py runserver
  1. To access it, go to http://127.0.0.1:8000/.

About

An API developed with Django REST that provides library models and operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages