Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ee99abf
Setup client environment with React, TypeScript, Webpack, Prettier, …
AlexisFlach May 17, 2023
c793125
Add .gitignore file in root
AlexisFlach May 17, 2023
c17c2c9
Setup server environment with Express, Typescript, Webpack, Prettier,…
AlexisFlach May 17, 2023
ab40b56
Setup dev environment with Docker Compose and Postgres
AlexisFlach May 17, 2023
001e86f
Add Redis service to docker compose file
AlexisFlach May 17, 2023
5e1ba0b
Implement backend functionality
AlexisFlach May 22, 2023
c346f00
Remove data
AlexisFlach May 22, 2023
7ee07b1
Add functionality
AlexisFlach May 23, 2023
ca772ff
Implement functionality in client
AlexisFlach May 23, 2023
fee42ee
Clean up FavoritesContext
AlexisFlach May 23, 2023
869774f
Clean up quotes service
AlexisFlach May 23, 2023
2ed1639
Implement auth and protected routes
AlexisFlach May 24, 2023
76cd7e9
Done functionality
AlexisFlach May 24, 2023
0f1fcd9
Improve error handling, fix bugs and add github actions file
AlexisFlach May 25, 2023
34eed42
Fix Github Actions
AlexisFlach May 25, 2023
a47522f
Fix Github Actions
AlexisFlach May 25, 2023
6f75556
Refactor Logger to console log messages
AlexisFlach May 25, 2023
9617743
Fix Github Actions file
AlexisFlach May 25, 2023
309fc09
Add styling
AlexisFlach May 25, 2023
1d64288
Clean up client
AlexisFlach May 25, 2023
a6c0e0c
Clean up backend
AlexisFlach May 25, 2023
baf83be
Create Documentation
AlexisFlach May 25, 2023
40fa357
Improve user information when providing invalid password
AlexisFlach May 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Fullstack Test Job

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
working-directory: client
- run: npm run lint
working-directory: client
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.env
dist
data
14 changes: 14 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"env": {
"browser": true,
"node": true,
"es6": true
}
}
12 changes: 12 additions & 0 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"arrowParens": "always",
"jsxSingleQuote": true,
"quoteProps": "as-needed",
"jsxBracketSameLine": true,
"endOfLine": "auto"
}
13 changes: 13 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:16-slim

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 9000

CMD ["npm", "start"]
Loading