First bits of pure lustre-javascript for user login session
This commit is contained in:
parent
a1e4eb1dff
commit
e6851255dc
41 changed files with 8413 additions and 733 deletions
5
api-test/api-test.sh
Normal file
5
api-test/api-test.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
cat test.json | curl --json @- http://localhost:1234/api/info
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
2
api-test/docker-down.sh
Normal file
2
api-test/docker-down.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
docker stop do_integration_test
|
||||
docker rm do_integration_test
|
||||
4
api-test/docker-up.sh
Normal file
4
api-test/docker-up.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
docker build . -t quizterm:1
|
||||
docker run --name do_integration_test -d -p 4321:1234 quizterm:1
|
||||
|
||||
sleep 2
|
||||
3
api-test/run.sh
Normal file
3
api-test/run.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
sh docker-up
|
||||
sh api-test
|
||||
sh docker-down
|
||||
8
api-test/test.json
Normal file
8
api-test/test.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"answers":
|
||||
[
|
||||
{"question" : 14, "answer": "what is the meaning of the question that is number what is the meaning of the question that is numberwhat is the meaning of the question that is numberwhat is the meaning of the question that is number"}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue