Commit Graph

7 Commits

Author SHA1 Message Date
Erik Hellman 8832990524 Moved to libs directory 2021-10-03 11:32:39 +02:00
Rickard Natt och Dag 19fd3ddd0e
chore: add prettier (#101) 2021-03-30 17:21:18 +02:00
Andreas Eriksson e1849d5149
Feat/improve local dev experience (#97)
* Make it possible to set SessionCookie manually

* Add helper classes to make it possible to set a proxy agent on fetch

To attach a proxy when developing locally (to see requests and responses)

* Add a devrun.js for local testing

 - Support for proxy
 - Saves sessionCoookie to a file and tries to use it again

* Files to work with VisualStudio Code

- Debug
- Make typescript watch in background and build

* Fix so cookies work

* Always generate source maps

* Use devrun in debug

* Add linting to all files while developing

* Fixes to file after linting

* Fix failing test in api.test

* Add check that login was successful to setSessionCookie
2021-03-28 20:56:04 +02:00
Johan Öbrink 39b62b7b37
feat: 🎸 getUser (#19)
Returns currrenctly logged in user

 Closes: #9
2020-12-21 17:01:22 +01:00
Johan Öbrink 91fbee4f5c Some linting 2020-12-20 23:15:39 +01:00
Johan Öbrink 0e4acba776 feat: 🎸 Possibly first working version 2020-12-20 23:02:05 +01:00
Johan Öbrink acf4828bdf Initial commit 2020-12-19 13:37:45 +01:00