conote is a simple and online notebook that allows you to save your notes, memories,... online and share them with others.
- Notification system : Creating and using a suitable structure according to the abstract factory design pattern to send email and SMS according to a specific structure
- Logging system : Use a logging system for troubleshooting
- Comment system and Webscoket: Using the ability to comment and notify comments online using the web socket protocol
- JWT Authentication : It uses JWT tokens to authenticate users, which works on platforms other than the web
- Clear structure : The code is written in a way that is easy to understand and modify
- Notification system : If you give someone access to view your notebook or vice versa, you will be informed about this through SMS and email
- Permission submission system : You can allow other users to view your notebook and notes
- Comment system : You can post comments on your notes or other people's notes (if you have access)
- Access at all times : You can access and comment on your notes and any notes you have access to view at any time.
- Python 3.8 and above
- Postegras or any other database supported by django
- RabbitMq or any message broker
- Clone the repository
git clone https://github.com/mahdiashtian/conote.git
- Navigate to the project directory
cd conote
- Create and activate a virtual environment
python -m venv venv
source venv/bin/activate
(Linux)venv\Scripts\activate
(Windows)
- Install the requirements
pip install -r requirements.txt
To launch the project, you need to replace your project settings in the .env file with the default settings. Required values:
SECRET_KEY=''
BROKER_PROTOCOL=''
BROKER_USERNAME=''
BROKER_PASSWORD=''
BROKER_HOST=''
BROKER_PORT=''
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''
SMS_FROM=''
SMS_USERNAME=''
SMS_PASSWORD=''
If you want to run the project in production mode, you must add variables related to the database
DB_NAME=''
DB_USER=''
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''
Using the following command in the command line, you can run the project as a demo version on the server:
python manage.py runserver
If you need and want, you can run the project tests with the following command:
pytest
For any questions or suggestions, please contact me