Skip to content

sgsource/Keep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keep

A local and personal Google Keep clone

Table of Contents

Folder Structure

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
└── ...

Setup

Installing Node Dependencies

$ cd frontend
$ npm install

Build

While in frontend:

$ npm run build
$ cd ..

Installing Python Dependencies

$ pip install -r requirements.txt

Django Migrations

$ python manage.py migrate
$ python manage.py makemigrations api
$ python manage.py migrate api

Running the Server

$ python manage.py runserver

About

A local and personal Google Keep clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published