This is an online application that helps users to record their memories.
- Text editor
- Browser
- Python/Flask framework
- Create a virtual environment using the following command
$python3 -m venv myenv
- Activate the virtual environment
$source myenv/bin/activate
- Install dependencies in the virtual environment
$pip install -r requirements.txt
- Use this command to run the application
$python3 run.py
- View a sample endpoint at http://127.0.0.1:5000/api/v1/register
- You can test the Endpoints with PostMan
- nosetests
- pytest
- use the following command to run tests
$nosetests --with-coverage
- signup page
- signin page
- Diary entries
- Diary entry
- Add and modify entry
- Profile page
- Dashboard page
Preview on Github pages
HTTP Method | End point | Action |
---|---|---|
POST | /api/v1/users | Register a user |
POST | /api/v1/user | Login a user |
GET | /api/v1/entries | Fetch all entries |
GET | /api/v1/entry/<entry_Id> | Fetch a single entry |
POST | /api/v1/entry | Create an entry |
PUT | /api/v1/entries/<entry_id>/ | Modify entry |
- HTML
- CSS
- javascript
- Python 3.6