mdgspace / 2023_lecture_2_notes-app-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notes App Backend

It is a demo app for django beginners. It has a few features to get you started:

  • Basic CRUD operations
  • DRF (django rest framework)
  • Implementation of urls and serializers

Getting Started

This project is for beginners to start learning Django by understanding the code.

A few resources to get you started if this is your first Django project:

For help getting started with Django development, view the online documentation, which offers tutorials, samples, guidance on django web framework

Setup

  1. Download the project
  • Clone the repo using git clone https://github.com/photon0205/notes-app-backend.git

  1. Creating Virtual Environment
  • Open the clone folder in VS Code

    • Virtual environment: Windows

      • To create a new virtualenv, you need to open the terminal and run python -m venv myvenv.
      • Start your virtual environment by running: myvenv\Scripts\activate
    • Virtual environment: Linux and OS X

      • We can create a virtualenv on both Linux and OS X by running python3 -m venv myvenv on the terminal.
      • Start your virtual environment by running: source myvenv/bin/activate

  1. Downloading packages
  • Run pip install -r requirements.txt in the terminal to install all the packages mentioned in requirements.txt
  • After installation is completed run python manage.py runserver to start the server at http://localhost:8000

If you have any doubts feel free to chat with us here

About


Languages

Language:Python 100.0%