-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update package * update gitignore * add prisma * add user service * add auth service * add password encryption * implement login route * add auth guard * remove test files * add dotenv package * add jwt generation * add jwt guard with profile controller * add profile site * improve code style with prettier * remove hello worlds * add helmet * add vue framework * connect vue to nest * add css * add login route * add logger middleware + loggin route * update package * add catch for duplicate user registration * implement submit method * make login and registerView more dynamic * hotfix * update prisma schema * update structure * generate Movie db service * add env tmp * update movie relation and service * create movie route and add imdb package * hotfix * implement GET movie:id * fix auth bugs * add info * implement POST movie * add try catch * implement GET movie/all * implement movie table * add client profile * client: add movie add button * prisma: add vote table * backend: edit structure * backend: add vote boilerplate * edit structure * backend: implement POST vote * db: improve naming * backend: add DELETE Vote * backend: add GET vote * update vote output * update proposer output * update package * Client: implement client-side state management to react on loading and logged_in * client: add history view * client: improve movie component table * backend: update route GET movie/all * client: display movie votes * client: implement vote * client: implement router logout * BD: add "name" attribute to userDB * backend: remove middleware from auth * backend: implement email confirm * common: update env tmp * client: add privacy * client: hot fix * client: hot fix * client: add AlertComponent.vue * backend: update movie information * backend: implement movie delete * client: implement delete own movie * client: implement form validation * common: add port configuration * client: add vertical scrolling in movie table * client: rename page title * client: add regex to imdb upload * client: outsource api call * client: hotfix * backend: fix initial interest (now server handled instead of client handled) * backend: restrict unvoting for own proposed movie * client: implement triggerable alert components * common: implemented client warnings on auth * common: implemented better version of client warnings on auth * client: style hotfix * common: update README.md
- Loading branch information
1 parent
eba3bd8
commit b343b8f
Showing
78 changed files
with
6,543 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PROJECT_NAME="Movie-Monday-Manager" | ||
FRONTEND_URL="http://localhost:3000/" | ||
PORT="3000" | ||
|
||
DATABASE_URL="file:./dev.db" | ||
JWT_SECRET="secret" | ||
JWT_EXPIRATION="2h" | ||
OMDB_API_KEY="XXXXXXXX" | ||
MAX_VOTES="2" | ||
|
||
EMAIL_HOST="smtp.example.com" | ||
EMAIL_PORT="587" | ||
EMAIL_HOST_USER="[email protected]" | ||
EMAIL_HOST_PASSWORD="XXXXXXXXX" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# Movie Monday Manager (WIP) | ||
# Movie Monday Manager | ||
A full stack management application for voting movies for weekly movie events. | ||
|
||
## Features | ||
- Account-Registration with email verification | ||
- Users can vote, add and remove movies | ||
- Clean and responsive Bootstrap-UI | ||
- 100% useable without client (via REST-API) | ||
- **(soon)** automatic management of voted movies around movie events | ||
- **(soon)** automatic notifications for movie events with the list of interested users | ||
|
||
## Installation | ||
1. You need [node.js](https://nodejs.org/en/) installed (version 18.12.1 or newer). | ||
2. Download the [newest version](https://github.com/EliasSchaut/Movie-Monday-Managerreleases) of the code | ||
3. Rename the .env file from ```.env.tmp``` to ```.env``` | ||
4. Open the configuration file (now ```.env```) and set values. | ||
5. In ```client``` folder: run ```npm install``` and ```npm run build``` | ||
6. In ```prisma``` folder: run prismas ```migrate``` command (e.g. ```npx prisma migrate dev --name init```) | ||
7. In root folder: `npm install`. | ||
8. Run the server with `npm start`. | ||
|
||
## Dev-Docs & API-Docs | ||
This documentation is still work in progress. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Movie Monday Client | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/// <reference types="vite/client" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Movie-Monday-Manager</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.