Welcome to Awesome Todo List App! This is a simple and intuitive to-do list application built with React Native and Django, utilizing Expo to support both web and mobile platforms.
- Add, edit, and delete tasks
- Mark tasks as completed
- Easy-to-use user interface
- Django (https://github.com/django/django)
- Django REST Framework (https://github.com/encode/django-rest-framework)
- Mysql (https://github.com/PyMySQL/mysqlclient)
Before getting started, make sure you have the following prerequisites:
- Python (https://www.python.org/downloads/)
-
Clone the repository
git clone https://github.com/lucasalberto01/power-todo-api.git
-
Create a virtualenv
python -m venv .venv
-
Activate the virtualenv
source .venv/bin/activate
-
Install the dependencies
pip install -r requirements.txt
-
Make migrations
python todo/manage.py makemigrations
-
Run migrations
python todo/manage.py migrate
-
Create super user
python todo/manage.py createsuperuser
-
Run the server
python todo/manage.py runserver
The application uses environment variables for configuration. Create a .env
file in the frontend directory and add the following variables:
DJANGO_SECRET_KEY=< key of password encrypt >
CLEARDB_DATABASE_URL='mysql://root:root@localhost:3306/todo'
Obs: On localhost the system automatically creates a database in sqlite3 for you to use
Contributions are welcome! If you find any issues or want to contribute enhancements, please feel free to submit a pull request.
This project is licensed under the MIT License.
- Django community for the powerful web framework
- Django REST Framework for the flexible toolkit for building Web APIs
- dj_rest_auth for the awesome authentication and registration tools
- Mysql for the world's most popular open source database