Skip to content

Commit 79db0df

Browse files
committed
Initial commit
0 parents  commit 79db0df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2044
-0
lines changed

.editorconfig

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.js]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[*.rb]
20+
indent_style = space
21+
indent_size = 2
22+
23+
[*.hbs]
24+
insert_final_newline = false
25+
indent_style = space
26+
indent_size = 2
27+
28+
[*.css]
29+
indent_style = space
30+
indent_size = 2
31+
32+
[*.html]
33+
indent_style = space
34+
indent_size = 2
35+
36+
[*.{diff,md}]
37+
trim_trailing_whitespace = false

.gitignore

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Python .gitignore taken from https://github.com/navdeep-G/samplemod/blob/master/.gitignore
2+
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*,cover
48+
.hypothesis/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
58+
# Flask stuff:
59+
instance/
60+
.webassets-cache
61+
62+
# Scrapy stuff:
63+
.scrapy
64+
65+
# Sphinx documentation
66+
docs/_build/
67+
68+
# PyBuilder
69+
target/
70+
71+
# IPython Notebook
72+
.ipynb_checkpoints
73+
74+
# pyenv
75+
.python-version
76+
77+
# celery beat schedule file
78+
celerybeat-schedule
79+
80+
# dotenv
81+
.env
82+
83+
# virtualenv
84+
.venv/
85+
venv/
86+
ENV/
87+
88+
# Spyder project settings
89+
.spyderproject
90+
91+
# Rope project settings
92+
.ropeproject

.remarkrc

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"plugins": {
3+
"remark-lint": {
4+
"blockquote-indentation": "2",
5+
"checkbox-character-style": {
6+
"checked": "x",
7+
"unchecked": " "
8+
},
9+
"code-block-style": "fenced",
10+
"heading-style": "atx",
11+
"list-item-spacing": false,
12+
"no-html": false,
13+
"no-shortcut-reference-link": true,
14+
"no-undefined-references": true,
15+
"ordered-list-marker-value": "one",
16+
"rule-style": "---",
17+
"unordered-list-marker-style": "-"
18+
}
19+
},
20+
"settings": {
21+
"commonmark": true
22+
}
23+
}

CONTRIBUTING.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Contributing
2+
3+
If you would like to contribute, please follow the [style guide](STYLE.md).
4+
Issues labeled ["help
5+
wanted"](https://github.com/ga-wdi-boston/meta/labels/help%20wanted) are a good
6+
place to start!
7+
8+
To contribute, clone this repository. If you don't have commit access: fork,
9+
clone, then pull request.
10+
11+
Feel free to comment on any issue, including proposed changes. If you have any
12+
questions or want to discuss a new change, don't hesitate to file an issue.

LICENSE

+798
Large diffs are not rendered by default.

LICENSE.md

Whitespace-only changes.

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
init:
2+
pip install -r requirements.txt
3+
4+
test:
5+
nosetests tests

Pipfile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
asgiref = "==3.3.1"
8+
dj-database-url = "==0.5.0"
9+
django-cors-headers = "==3.7.0"
10+
django-rest-auth = "==0.9.5"
11+
djangorestframework = "==3.12.2"
12+
gunicorn = "==20.0.4"
13+
psycopg2-binary = "==2.8.6"
14+
python-dotenv = "==0.15.0"
15+
pytz = "==2021.1"
16+
six = "==1.15.0"
17+
sqlparse = "==0.4.1"
18+
Django = "==3.0"
19+
20+
[dev-packages]
21+
22+
[requires]
23+
python_version = "3.9"

Pipfile.lock

+149
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
### Technology Stack
2+
React & Django
3+
4+
### User Stories
5+
User:
6+
- As an unregistered user, I would like to sign up with email and password.
7+
- As a registered user, I would like to sign in with email and password.
8+
- As a signed in user, I would like to change password.
9+
- As a signed in user, I would like to sign out.
10+
11+
Resource:
12+
- As an unregistered user, I would like to see all journal prompts.
13+
- As a signed in user, I would like to create journal prompts.
14+
- As a signed in user, I would like to see only my journal prompts.
15+
- As a signed in user, I would like to update my journal prompts.
16+
- As a signed in user, I would like to delete my journal prompts.
17+
- As a signed in user, I would like to create a private response to anyone's journal prompt.
18+
- As a signed in user, I would like to note my mood after journaling.
19+
- As a signed in user, I would like to update my journal response.
20+
- As a signed in user, I would like to delete my journal response.
21+
22+
Stretch Goals:
23+
- As a signed in user, I would like to see my journaling frequency (how many times I journaled this week)
24+
- As a signed in user, I would like to set a journaling goal (ex: 3 times per week)
25+
- As a signed in user, I would like to see a graph of my moods compared with journaling frequency.
26+
- As a signed in user, I would like to create a collection of my favorite prompts.
27+
- As a signed in user, I would like to "like" or "heart" a prompt
28+
- As a signed in user, I would like to see how often my prompts are chosen for response
29+
- As a signed in user, I would like to see how often my prompts are "liked"
30+
31+
32+
### Wireframes
33+
Before sign in:
34+
![unregistered user](https://i.imgur.com/g08AouC.png)
35+
36+
After sign in:
37+
![signed in user](https://i.imgur.com/1bb7MF1.png)
38+
39+
40+
### Entity-Relationship Diagram
41+
![ERD](https://i.imgur.com/rQHTWPz.png)

0 commit comments

Comments
 (0)