Skip to content

Commit

Permalink
added more to lessons learned and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAccords committed Apr 21, 2018
1 parent fcd8514 commit 30533c4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Xtra Folder
Folder building webapp for megaman battle network. Specifically starting out with megaman battle network 6 but might add the other titles after 6 is done.

## Technology Stack
- Node.js
- Express
- Objection.js (For database models/querying)
- React.js (For front end)
- Redux
Binary file modified dump.rdb
Binary file not shown.
10 changes: 9 additions & 1 deletion lessons_learned.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@ Knex:warning - migration failed with error: alter table `chip` modify `element`
- Still not 100% sure on koajs + objectionjs. Expressjs and sequelize may have been a better choice due to their maturity and adoption rate.
- It is difficult to find a community to ask koajs questions about, besides their github issues page

## General Backend
- Use mature, popular, regularly updated libraries. They will have the most resources available, best documentation, and issues already solved in comparison to other libraries.
- From the get go, have a way to standardize outputting errors so its easier to consume by the front end.
- Look up restful api design patterns in terms of nesting child elements
- Designing database diagram was a good idea and helped thinking through how everything worked.
- separate controller actions from routes.
- when writing tests, try to mock database calls to make the tests run faster.

## General Development
- After the first few models, I ended up repeating the CRUD actions for a lot of my models. Maybe use yaml or some other tool to auto generate these models after the first few if they are really similar.
- After the first few models, I ended up repeating the CRUD actions for a lot of my models. Maybe use yaml or some other tool to auto generate these models after the first few if they are really similar.

0 comments on commit 30533c4

Please sign in to comment.