Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c8e222d
database setup
pramesthias Nov 14, 2023
8d7cf40
feat: add login, register, error handler
pramesthias Nov 14, 2023
7e1dde9
feat: add authentication
pramesthias Nov 14, 2023
5585b68
Merge pull request #1 from pramesthias/authentication
pramesthias Nov 14, 2023
6ff2986
fix
pramesthias Nov 14, 2023
8759e1c
Merge pull request #2 from pramesthias/authentication
pramesthias Nov 14, 2023
7b9f1be
feat: get data from 3rd party API
pramesthias Nov 14, 2023
ade6948
add READ All and by Id from DB
pramesthias Nov 14, 2023
623b30e
feat: add Read by Id for data from 3rd Party API
pramesthias Nov 14, 2023
bce3006
docs: add API docs for login, register, read all feature
pramesthias Nov 14, 2023
2fca165
feat: login via google (socmed login)
pramesthias Nov 15, 2023
4433949
Merge pull request #3 from pramesthias/socmed-login
pramesthias Nov 15, 2023
4c1033a
fix: get data from 3rd party API
pramesthias Nov 15, 2023
9f6cb4f
feat: mail sending using nodemailer
pramesthias Nov 15, 2023
1a5b587
feat: mail sending in client side
pramesthias Nov 15, 2023
7a78b81
Merge pull request #4 from pramesthias/mail-sending
pramesthias Nov 15, 2023
ab367b2
feat: login and register in client side
pramesthias Nov 15, 2023
5f55e91
Merge pull request #5 from pramesthias/login-regis-client
pramesthias Nov 15, 2023
9c81fb5
docs: add api docs for google login and mail sender
pramesthias Nov 15, 2023
d83bf1d
test: add test for CUD comment entity
pramesthias Nov 16, 2023
d3c6ed6
Merge pull request #6 from pramesthias/testing
pramesthias Nov 16, 2023
b69caf7
fix: model recipe
pramesthias Nov 16, 2023
564e1d1
feat: add home and detail page for client side
pramesthias Nov 16, 2023
cae94b8
test: fix and add the tests for comment entity
pramesthias Nov 16, 2023
d345dff
feat: add page for add and edit post
pramesthias Nov 16, 2023
78690fd
feat: handle log out in client side
pramesthias Nov 16, 2023
8aca9df
feat: add few pages in client side
pramesthias Nov 16, 2023
d862b49
before deploy
pramesthias Nov 16, 2023
4f18e11
Merge pull request #7 from pramesthias/development
pramesthias Nov 16, 2023
c6975ec
before deploy 2
pramesthias Nov 16, 2023
8cad4ee
before deploy 3
pramesthias Nov 16, 2023
4a51bc4
changing key
pramesthias Nov 17, 2023
5222a4d
deploy client
pramesthias Nov 17, 2023
3f12504
Fix: revision purpose, add react context
pramesthias Nov 23, 2023
6379db8
Merge branch 'revisi'
pramesthias Nov 23, 2023
421bbd4
Fix: re-deploy the client
pramesthias Nov 23, 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
535 changes: 535 additions & 0 deletions README.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
4 changes: 4 additions & 0 deletions client/.firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vite.svg,1700174280578,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
index.html,1700750733739,89f43c688f87bbb1789bb24516c49fa39c5fc4c9f4d4f0987fbfe61b3ee37972
assets/index-55fec1ff.css,1700750733739,c6c8c482eb63a414ba456732e2f5841315448a174496f9b4a9c49ff170e0f1d6
assets/index-b9e85820.js,1700750733739,0dcdf2417f84c34f3579782c72bd6673aa40cd66773b2423e504fae80cd5030b
5 changes: 5 additions & 0 deletions client/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "cyto-project-b7bd1"
}
}
24 changes: 24 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
8 changes: 8 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
16 changes: 16 additions & 0 deletions client/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
26 changes: 26 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />


<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">

<title>CYTO</title>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>

</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>

</html>
Loading