From ca4ffa26c3735f5759bbf6a9da2006114e0b3e6c Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Sat, 5 May 2018 08:36:21 -0400 Subject: [PATCH] Check in server/data/ --- server/.gitignore | 2 -- server/data/articles.db | 5 +++++ server/data/comments.db | 0 server/data/favorites.db | 0 server/data/follows.db | 0 server/data/users.db | 2 ++ 6 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 server/data/articles.db create mode 100644 server/data/comments.db create mode 100644 server/data/favorites.db create mode 100644 server/data/follows.db create mode 100644 server/data/users.db diff --git a/server/.gitignore b/server/.gitignore index 16aa9bc..99d0c92 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -4,5 +4,3 @@ coverage/ npm-debug.log stats.json yarn-error.log - -data/ \ No newline at end of file diff --git a/server/data/articles.db b/server/data/articles.db new file mode 100644 index 0000000..2372986 --- /dev/null +++ b/server/data/articles.db @@ -0,0 +1,5 @@ +{"title":"Elm is fun!","description":"Elm","body":"I've really been enjoying it!","tagList":["elm","fun"],"slug":"elm-is-fun--zb6nba","author":"Z1YiwpVIz2GQQ13Q","createdAt":{"$$date":1525523441276},"updatedAt":{"$$date":1525523441276},"_id":"AfnCDbXe6wi8Vg8C"} +{"title":"Elm is fun!","description":"Programming","body":"I've really been enjoying it!","tagList":["elm","fun"],"slug":"elm-is-fun--zb6nba","author":"Z1YiwpVIz2GQQ13Q","createdAt":{"$$date":1525523441276},"updatedAt":{"$$date":1525523455652},"_id":"AfnCDbXe6wi8Vg8C"} +{"title":"Who says undefined isn't a function anyway?","description":"Functions","body":"Quite frankly I think undefined can be anything it wants to be, if it believes in itself.","tagList":["programming"],"slug":"who-says-undefined-isnt-a-function-anyway-t39ope","author":"Z1YiwpVIz2GQQ13Q","createdAt":{"$$date":1525523547620},"updatedAt":{"$$date":1525523547620},"_id":"CDCDlBclmwWpWdCX"} +{"title":"This compiler is pretty neat","description":"Elm","body":"It tells me about problems in my code. How neat is that?","tagList":["compilers","elm"],"slug":"this-compiler-is-pretty-neat-9ycui8","author":"Z1YiwpVIz2GQQ13Q","createdAt":{"$$date":1525523694805},"updatedAt":{"$$date":1525523694805},"_id":"ttAbrJu6OrOJ7jAf"} +{"title":"Are dragons real?","description":"dragons","body":"Do Komodo Dragons count? I think they should. It's right there in the name!","tagList":["dragons"],"slug":"are-dragons-real-467lsh","author":"Z1YiwpVIz2GQQ13Q","createdAt":{"$$date":1525523750396},"updatedAt":{"$$date":1525523750396},"_id":"I2h7s1VuXciCP5nl"} diff --git a/server/data/comments.db b/server/data/comments.db new file mode 100644 index 0000000..e69de29 diff --git a/server/data/favorites.db b/server/data/favorites.db new file mode 100644 index 0000000..e69de29 diff --git a/server/data/follows.db b/server/data/follows.db new file mode 100644 index 0000000..e69de29 diff --git a/server/data/users.db b/server/data/users.db new file mode 100644 index 0000000..d1c44ca --- /dev/null +++ b/server/data/users.db @@ -0,0 +1,2 @@ +{"username":"SamSample","email":"sam@sample.com","password":"$2a$10$6bury.WsF0p7chmqoqQc..S5HZ6qPK/KuqVfXxBjSasmDPxF3fj3W","bio":"","image":null,"createdAt":{"$$date":1525523183044},"_id":"Z1YiwpVIz2GQQ13Q"} +{"username":"SamSample","email":"sam@sample.com","password":"samsample","bio":"I'm the sample user for the workshop. Hi!","image":"https://user-images.githubusercontent.com/1094080/39663282-6459c64e-503e-11e8-8da8-a2af2c81d052.png","createdAt":{"$$date":1525523183044},"_id":"Z1YiwpVIz2GQQ13Q","updatedAt":{"$$date":1525523378471}}