https://github.com/danielc92/flask-todo
Architecting and deploying a TODO themed application using Flask and heroku.
https://github.com/danielc92/flask-todo
flask mongodb side-project
Last synced: 3 months ago
JSON representation
Architecting and deploying a TODO themed application using Flask and heroku.
- Host: GitHub
- URL: https://github.com/danielc92/flask-todo
- Owner: danielc92
- Created: 2019-04-02T05:53:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T20:33:52.000Z (about 3 years ago)
- Last Synced: 2025-03-20T08:51:28.757Z (over 1 year ago)
- Topics: flask, mongodb, side-project
- Language: HTML
- Homepage: https://dctodo.herokuapp.com
- Size: 542 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask TODO App
Designing and building a 'todo' style web application. Flask to be used as web framework. Mongodb as a backend and possibly Redis as a cache store.
# Before you get started
Familiarity with the following will help.
- Python **3.6.5**
- Web frameworks (flask)
- NOSQL databases
- Cache servers
# Requirements
- Login / Register system
- A NOSQL Task system defined by user
- Task page with user scope
- Profile page with user scope
- Members page with global scope
# Setup
**How to obtain this repository:**
```sh
git clone https://github.com/danielc92/flask-todo.git
```
**Modules/dependencies:**
- `flask`
- `flask_pymongo`
Install the following dependences:
```sh
pip install flask flask_pymongo
```
MongoDB Installation via brew
```sh
# Installation using brew
brew install mongodb
# Running locally
mongod
```
MongoDB Installation via Docker
```sh
docker run --name mongo-instance -d -p 27017:27017 mongo
```
# Tests
The following tests have been successfully completed.
- 'Render' 'register', 'login', 'members' and 'home' routes
- Register an account
- Verify hashing function is working
- Create task on 'home' route
- Render tasks on 'home' route
# Contributors
- Daniel Corcoran
# Sources
- [Bulma Documentation](https://bulma.io/)
- [Flask Documentation](http://flask.pocoo.org/)
- [MongoDB Manual](https://docs.mongodb.com/manual/introduction/)
- [Updating nested arrays in MongoDB](https://www.mattburkedev.com/updating-inside-a-nested-array-with-the-mongodb-positional-operator-in-c-number/)