diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..cbad0b2 --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +VUE_APP_API=http://localhost:3000/api +VUE_APP_MOVIES=http://localhost:3001/movie diff --git a/README.md b/README.md index bf70605..a5ef5f5 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,5 @@ -# watch2gether-front +# W2G Frontend -## Project setup -``` -npm install -``` +Frontend for watch2gether. -### Compiles and hot-reloads for development -``` -npm run serve -``` - -### Compiles and minifies for production -``` -npm run build -``` - -### Lints and fixes files -``` -npm run lint -``` - -### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). +A website that allows you and your friends to watch a movie in sync. diff --git a/src/views/Home/createRoom.ts b/src/api/createRoom.ts similarity index 100% rename from src/views/Home/createRoom.ts rename to src/api/createRoom.ts diff --git a/src/views/Room/getPosition.ts b/src/api/getPosition.ts similarity index 100% rename from src/views/Room/getPosition.ts rename to src/api/getPosition.ts diff --git a/src/views/Room/getRoom.ts b/src/api/getRoom.ts similarity index 100% rename from src/views/Room/getRoom.ts rename to src/api/getRoom.ts diff --git a/src/views/Room/getStatus.ts b/src/api/getStatus.ts similarity index 100% rename from src/views/Room/getStatus.ts rename to src/api/getStatus.ts diff --git a/src/views/Room/setPosition.ts b/src/api/setPosition.ts similarity index 100% rename from src/views/Room/setPosition.ts rename to src/api/setPosition.ts diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index ccb26b1..a0a881d 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -15,7 +15,7 @@