TTUSDC / cpceed-webapp

CPCEED Web App
https://ttusdc.github.io/cpceed-webapp/
3 stars 0 forks source link

Api server user #11

Closed asclines closed 7 years ago

asclines commented 7 years ago

What does this PR do?

This PR brings in some fun stuff.

Namely, it brings the first real functionality that connects API to APP. 🎆

What do we have here?

We have the CRUD operations for user data!

Note: There is a lot of duplicate-ish looking code in the PR. That has been noticed and a follow-up PR will show up to generify and otherwise aim to fix that. For now, let's just focus on the user data.

One interesting commit of this PR is: eb5a0cfb3aaac5f818d806f127a7e1acb697bb97

This commit shows that a way to handle merge conflicts in the docs needs to be dealt with. What I did for that commit was in the repo root directory:

cd /docs
rm -r ./*
cd ..
npm run docs

We need a better way.

NilsG-S commented 7 years ago

@asclines If you're not concerned with elegance, we can just have npm run docs delete everything before recreating it:

"docs": "rm -r ./docs && node_modules/.bin/esdoc"