This is a simple notes app built with React, Django and PostgreSQL.
Originally forked from https://github.com/Hitstar53/notesapp.
- Python
- Node.js
- React
- PostgreSQL
- Create the user
CREATE ROLE myuser WITH LOGIN PASSWORD 'password' CREATEDB;
- Create database
CREATE DATABASE mydatabase
WITH OWNER = myuser
ENCODING = 'UTF8'
LC_COLLATE = 'en_US.UTF-8'
LC_CTYPE = 'en_US.UTF-8'
TEMPLATE = template0;
- Clone the repository
git clone https://github.com/pmmridul/notesapp.git
- Create a virtual environment and activate it
virtualenv venv
source venv/bin/activate
- Install the requirements
pip install -r requirements.txt
- To apply database migrations
python manage.py migrate
- To create Django admin user
python manage.py createsuperuser
- Run the server
python manage.py runserver
- Open another terminal and navigate to the mynotes directory
cd mynotes
- Install the dependencies
npm install
- Run the app
npm start