DotNotes is a RESTful API that allows you to create, retrieve, update, and delete notes. With DotNotes, you can easily manage your notes data in a programmatic way.
To use DotNotes, you'll need to have Python 3 and Django 3 installed on your system. Once you have those dependencies installed, you can follow these steps to get started:
Note: Make Sure you are running on a virtual environment before running pip install -r requirements, Gracias ✨
- Clone the repository:
git clone https://github.com/your-username/dotnotes.git - Install the requirements:
pip install -r requirements.txt - Set up the database:
python manage.py migrate - Run the server:
python manage.py runserver
DotNotes should now be running at http://localhost:8000/.
DotNotes provides the following API endpoints:
Returns a list of all notes in the system.
Example response:
[
{
"id": 1,
"name": "Note 1"
"content": "This is the content of Note 1",
"created_at": "2023-03-09T16:30:00Z",
"updated_at": "2023-03-09T16:30:00Z"
"image": "https://www.image1.com"
}
{
"id": 2,
"name": "Note 2",
"content": "This is the content of Note 2",
"created_at": "2023-03-09T16:31:00Z",
"updated_at": "2023-03-09T16:31:00Z"
"image": "https://www.image2.com"
}
]