Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #12

Open
wants to merge 136 commits into
base: prod
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
29a7bff
Merge pull request #10 from andrewjford/dev
andrewjford Jun 1, 2019
a49744f
to fix timezone date issue
andrewjford Jun 16, 2019
d5f4678
Merge pull request #11 from andrewjford/dev
andrewjford Jun 16, 2019
e727c21
Merge pull request #9 from andrewjford/prod
andrewjford Jun 17, 2019
af30d59
add readme
andrewjford Jun 17, 2019
ce23674
Merge branch 'master' of github.com:andrewjford/oozetracker2_express
andrewjford Jun 17, 2019
4c94633
change account delete to use sequelize
andrewjford Jun 22, 2019
417292a
start converting categories model to Sequelize, update tests
andrewjford Jun 22, 2019
66256c8
update expense controller to start using sequelize
andrewjford Jun 23, 2019
ffff730
update expense get endpoint to accept params
andrewjford Jun 29, 2019
b47b548
long token expiry if header is passed
andrewjford Jun 29, 2019
3d11959
make email case insensitive, remove unused methods
andrewjford Jun 30, 2019
ee27e19
add id to expenses get response
andrewjford Jun 30, 2019
46ca51b
prettier some
andrewjford Jul 6, 2019
5173894
update dependencies
andrewjford Jul 6, 2019
60203db
allow pagesize to receive ALL for no limit
andrewjford Jul 26, 2019
26b836f
return monthly report in alphabetized order
andrewjford Aug 1, 2019
5e161fa
update packages
andrewjford Aug 1, 2019
12ca12b
package update
andrewjford Aug 1, 2019
aa644f4
refactor, prep for account update functionality
andrewjford Aug 2, 2019
799214c
update previous commit
andrewjford Aug 2, 2019
9d3bf06
try revert
andrewjford Aug 2, 2019
6a201cf
try refactored
andrewjford Aug 2, 2019
9138ed3
Revert "try refactored"
andrewjford Aug 2, 2019
0906107
testing convert to typescript build
andrewjford Aug 3, 2019
d5cdff4
add ping endpoint
andrewjford Aug 10, 2019
0b9d095
implement update name/pw on accounts, prettier
andrewjford Aug 10, 2019
5d406d6
add get account endpoint for name/email
andrewjford Aug 12, 2019
dad9030
change endpoint for self get account
andrewjford Aug 12, 2019
36185af
return user id in get account details
andrewjford Aug 13, 2019
7af08ce
check confirm vs new password on account update
andrewjford Aug 17, 2019
fc8d2c7
update todo
andrewjford Aug 21, 2019
e1e9273
update todo
andrewjford Aug 25, 2019
4953dcb
update gitignore for eb project
andrewjford Aug 31, 2019
1d1fae1
eb config
andrewjford Aug 31, 2019
7bb3201
try change to eb config
andrewjford Aug 31, 2019
d2da37b
ran npm build
andrewjford Aug 31, 2019
ba36840
update gitignore
andrewjford Sep 15, 2019
e6b0350
update todo status
andrewjford Sep 15, 2019
e6a9b5f
try script for ssl
andrewjford Sep 28, 2019
e8b57fd
testing eb scripts
andrewjford Sep 29, 2019
4a19282
test eb config scripts
andrewjford Sep 29, 2019
9d0f42f
rename config
andrewjford Sep 29, 2019
e4216ed
testing
andrewjford Sep 29, 2019
062966a
disable
andrewjford Sep 29, 2019
7feef48
enable
andrewjford Sep 29, 2019
179b6ff
dis
andrewjford Sep 29, 2019
d816311
test
andrewjford Sep 29, 2019
108ebaa
apache
andrewjford Sep 29, 2019
0fde6e4
webroot nginx
andrewjford Sep 29, 2019
6847f45
fix
andrewjford Sep 29, 2019
4a40302
fix
andrewjford Sep 29, 2019
e82cd2e
nginx
andrewjford Sep 29, 2019
bd11f59
test
andrewjford Sep 29, 2019
f1f68e0
a
andrewjford Sep 30, 2019
c807097
a
andrewjford Sep 30, 2019
744882c
a
andrewjford Sep 30, 2019
e8316ca
remove eb folders
andrewjford Oct 5, 2019
cbaf5fc
update dependencies
andrewjford Oct 6, 2019
f540d2e
pm2
andrewjford Oct 6, 2019
94d405d
db dump
andrewjford Oct 6, 2019
424d686
db dump
andrewjford Oct 6, 2019
a2187fb
config
andrewjford Oct 6, 2019
689dabd
todo
andrewjford Oct 6, 2019
68aa29a
test
andrewjford Oct 7, 2019
451fcb6
update
andrewjford Oct 7, 2019
eec0ab3
Delete latest.dump.1
andrewjford Oct 7, 2019
d3470d5
Delete latest.dump.2
andrewjford Oct 7, 2019
d4c4cf0
gitignore
andrewjford Oct 7, 2019
9e39a03
Merge branch 'master' of github.com:andrewjford/oozetracker2_express
andrewjford Oct 7, 2019
0a9836a
eslint
andrewjford Nov 30, 2019
f87a184
add basic param type validation to expense create
andrewjford Dec 22, 2019
2687119
finish request param validation for create expense
andrewjford Dec 23, 2019
6e77fd4
update gitignore
andrewjford Dec 23, 2019
fee24e4
package updates
andrewjford Dec 23, 2019
730ebb0
update verify email address message
andrewjford Jan 4, 2020
4ae502a
verification successful splash page is html
andrewjford Jan 4, 2020
7e6dbba
rate limit verification endpoint
andrewjford Jan 4, 2020
ccdcebe
allow remember me boolean for longer jwt; refactor jwt
andrewjford Jan 4, 2020
857651d
todo update
andrewjford Jan 25, 2020
6608c5c
test removing category name from expense#create
andrewjford Feb 22, 2020
8cc77d6
remove unneccessary attribute on create expense response
andrewjford Feb 22, 2020
2a62efa
fix expense controller tests
andrewjford Feb 29, 2020
df0487b
cleanup test
andrewjford Feb 29, 2020
3a3a2cf
npm update
andrewjford Feb 29, 2020
b3d005e
update expense controller test
andrewjford Feb 29, 2020
44aa993
cleanup expense controller test
andrewjford Feb 29, 2020
bad0da3
update todo
andrewjford Mar 7, 2020
7aa3d77
start dockerize
andrewjford Mar 7, 2020
aeb889d
npm update
andrewjford Mar 14, 2020
b7e996f
new username on account
andrewjford Mar 14, 2020
acb3850
add username to account creation, defaults to email
andrewjford Mar 14, 2020
0565929
remove name requirment on account create, properly throw errors if em…
andrewjford Mar 14, 2020
09d5c77
update version num
andrewjford Mar 14, 2020
5700870
WIP get suggestions route
andrewjford Mar 15, 2020
c51d7bd
WIP changed naming and both are now objects
andrewjford Mar 17, 2020
ed8a3fb
add expense suggestions functionality
andrewjford Mar 21, 2020
0aefb57
ping testing
andrewjford Mar 21, 2020
048d053
cleanup git
andrewjford Mar 21, 2020
bdb3adb
remove extra pings
andrewjford Mar 21, 2020
9777203
add test for get monthly
andrewjford Mar 21, 2020
1329408
update packages
andrewjford Mar 21, 2020
2a20554
update ver
andrewjford Mar 21, 2020
aa871e3
update jest
andrewjford Mar 21, 2020
9bbb8cd
add error handling to get suggestsions, add recurrence value to sugge…
andrewjford Mar 28, 2020
1fccbad
use total recurrence of expense.description
andrewjford Mar 28, 2020
1f550a5
todo
andrewjford Apr 3, 2020
592fa23
todo
andrewjford Apr 4, 2020
2c3c86f
wip test expense model
andrewjford Apr 4, 2020
54be370
test coverage - on expense controller
andrewjford Apr 4, 2020
dbe8ab4
move logic out of expense controller
andrewjford Apr 4, 2020
dbe9d72
WIP tests
andrewjford Apr 4, 2020
748b4f3
finish first refactor of expense controller and model
andrewjford Apr 4, 2020
a96914c
ver
andrewjford Apr 4, 2020
75f4f2d
add account update unit tests
andrewjford Apr 11, 2020
4ebbf71
account controller tests
andrewjford Apr 11, 2020
9eb9e98
add tsconfig and @types packages
andrewjford Apr 11, 2020
e3622d2
setting up typescript
andrewjford Apr 11, 2020
5183a81
typescriptified and tests passing
andrewjford Apr 11, 2020
ab7960b
typescripting
andrewjford Apr 18, 2020
45cb364
remove categoryModel call from account controller
andrewjford Apr 18, 2020
372ec73
WIP moving away from CategoryModel
andrewjford Apr 18, 2020
0da4dee
CategoryModel no longer needed from controller
andrewjford Apr 18, 2020
4c87468
version
andrewjford Apr 18, 2020
4846cce
add revenue table
andrewjford Apr 18, 2020
16cb9d8
start revenue apis
andrewjford Apr 18, 2020
9c778f4
fix import
andrewjford Apr 18, 2020
fd0f9d4
revenues - create and getall are up
andrewjford Apr 25, 2020
5f97e73
crud api done for Revenues
andrewjford Apr 26, 2020
c770e25
update revenue controller test
andrewjford Apr 26, 2020
9fbe04d
update ver for revenue api
andrewjford May 2, 2020
fbd54c0
update packagelock
andrewjford May 3, 2020
08f43ce
return createdAt
andrewjford May 16, 2020
3eb8970
update ver
andrewjford May 16, 2020
09266b0
initial reset password logic
andrewjford Jul 11, 2020
3757344
update dp
andrewjford Sep 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
npm-debug.log
Dockerfile
.dockerignore
.git
.gitignore
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:jest/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }]
}
}
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@

# misc
.env
.dump
*.dump*
ecosystem.*
dist/*
built*

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vscode/
.vscode/
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:12

RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app

WORKDIR /home/node/app

COPY package*.json ./

RUN npm install

COPY --chown=node:node . .

RUN npm run build

EXPOSE 3001

CMD ["npm","start"]
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Express API for personal expense recordkeeping.

# Summary

This is an Express API for personal expense recordkeeping. It is consumed by a [react web app](https://github.com/andrewjford/oozetracker2_react) and a [react native app](https://github.com/andrewjford/oozetracker2_native).
3 changes: 1 addition & 2 deletions default_env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
DATABASE_URL
SECRET_KEY
EMAIL_VERIFICATION_TOKEN
SECRET_KEY
21 changes: 0 additions & 21 deletions dist/app.js

This file was deleted.

244 changes: 0 additions & 244 deletions dist/controllers/Category.js

This file was deleted.

Loading