A local and personal Google Keep clone
keep # Django project
├── api # REST API
│ ├── models.py # data model configuration
│ ├── serializers.py # data serializer
│ ├── urls.py # CRUD URLs
│ ├── views.py # function based views
│ └── ...
├── frontend # React app
│ ├── public
│ │ ├── index.html
│ │ └── ...
│ ├── src
│ │ ├── components
│ │ │ ├── ColorSelector.js # color customization
│ │ │ ├── CreateNote.js # new note
│ │ │ ├── NotePaper.js # notes in database
│ │ │ └── utils.js # available colors
│ │ ├── pages
│ │ │ └── NotesPage.js # homepage
│ │ ├── App.js
│ │ ├── index.js
│ │ └── ...
│ ├── package.json # node dependencies
│ ├── urls.py # show index.html template
│ └── ...
├── keep
│ ├── settings.py # app configurations
│ ├── urls.py # specifies where to look for URLs
│ └── ...
├── requirements.txt # python dependencies
└── ...
$ cd frontend
$ npm install
While in frontend:
$ npm run build
$ cd ..
$ pip install -r requirements.txt
$ python manage.py migrate
$ python manage.py makemigrations api
$ python manage.py migrate api
$ python manage.py runserver
