Giter Club home page Giter Club logo

django-react-notesapp's Introduction

Django & React Notes App

Cloning the repository

--> Clone the repository using the command below :

git clone https://github.com/divanov11/Django-React-NotesApp.git

--> Move into the directory where we have the project files :

cd Django-React-NotesApp

--> Create a virtual environment :

# If you are on Windows
virtualenv env
# If you are on Linux or Mac
python -m venv env

--> Activate the virtual environment :

# If you are on Windows
.\env\Scripts\activate
# If you are on Linux or Mac
source env/bin/activate

Running the App

--> To run the Notes App, we use :

python manage.py runserver

โš  Then, the development server will be started at http://127.0.0.1:8000/

App Preview :

django-react-notesapp's People

Contributors

divanov11 avatar midouwebdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-react-notesapp's Issues

Miss a Response in a function return

api/utils

def updateNote(request, pk):
data = request.data
note = Note.objects.get(id=pk)
serializer = NoteSerializer(instance=note, data=data)

if serializer.is_valid():
    serializer.save()

return serializer.data

History and match replacement in v6 react-router-dom

get rid of arguments in Notepage().

then get noteId via: let noteId = useParams().id;

history is replaced by useNaviagte. So use let navigate = useNavigate();

Change history.push('') to navigate ('').

Don't forget to import these two from react-router-dom

Create operation from 2nd time and onwards doesn't work properly

when I Create new note it works first time, from 2nd time it's created in database but doesn't appear on the frontend, when 3rd time I perform create operation 2nd entry appears on the frontend and then every next create operation last second note appears on the frontend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.