├── .github └── workflows │ └── publish.yaml ├── .gitignore ├── LICENSE ├── README.md ├── package-lock.json ├── package.json ├── postcss.config.js ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.css ├── App.test.tsx ├── App.tsx ├── components │ └── Header.tsx ├── images │ ├── dorsunotes.png │ ├── dorsunotesdark.png │ └── rassey8.jpg ├── index.css ├── index.tsx ├── logo.svg ├── pages │ ├── About.tsx │ ├── Developers.tsx │ └── Home.tsx ├── react-app-env.d.ts ├── reportWebVitals.ts └── setupTests.ts ├── tailwind.config.js ├── tsconfig.json └── website └── 404.html /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- 1 | name: Publish to gh-pages 2 | 3 | on: 4 | repository_dispatch: 5 | push: 6 | branches: 7 | - master 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v2 13 | - name: Use Node.js 14 | uses: actions/setup-node@v1 15 | with: 16 | node-version: '12.x' 17 | - run: npm install 18 | - run: npm run build 19 | env: 20 | CI: false 21 | - name: Deploy 22 | uses: peaceiris/actions-gh-pages@v3 23 | with: 24 | github_token: ${{ secrets.GITHUB_TOKEN }} 25 | publish_dir: ./build 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 3 | 4 | # dependencies 5 | /node_modules 6 | /.pnp 7 | .pnp.js 8 | 9 | # testing 10 | /coverage 11 | 12 | # production 13 | /build 14 | 15 | # misc 16 | .DS_Store 17 | .env.local 18 | .env.development.local 19 | .env.test.local 20 | .env.production.local 21 | 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 genmancoder 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![alt text](https://github.com/genmancoder/dorsu-notes-app/blob/master/src/images/dorsunotesdark.png) 2 | 3 | # DORSU Notes 4 | 5 | This tool will let you save your notes and to-do list. 6 | 7 | Note: This is an early version of DORSU Notes and there should be bugs and features to improved/implemented/included in this tool. Please feel free to ask questions. 8 | 9 | You can also request features you want to be included in the next update. 10 | 11 | ## Features 12 | - Register 13 | - Login 14 | - Create new note 15 | - Add description 16 | - Add to-do list 17 | - Add labels 18 | - Move note to trash 19 | - Move note to archive section 20 | 21 | ## Features to be implemented soon: 22 | - Dark / Light Theme 23 | - Add image to note 24 | - Add color to note 25 | - Add folder 26 | - Add project site. 27 | 28 | 29 | # Getting Started with Create React App 30 | 31 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 32 | 33 | ## Available Scripts 34 | 35 | In the project directory, you can run: 36 | 37 | ### `npm start` 38 | 39 | Runs the app in the development mode.\ 40 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 41 | 42 | The page will reload if you make edits.\ 43 | You will also see any lint errors in the console. 44 | 45 | ### `npm test` 46 | 47 | Launches the test runner in the interactive watch mode.\ 48 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 49 | 50 | ### `npm run build` 51 | 52 | Builds the app for production to the `build` folder.\ 53 | It correctly bundles React in production mode and optimizes the build for the best performance. 54 | 55 | The build is minified and the filenames include the hashes.\ 56 | Your app is ready to be deployed! 57 | 58 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 59 | 60 | ### `npm run eject` 61 | 62 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!** 63 | 64 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 65 | 66 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. 67 | 68 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. 69 | 70 | ## Learn More 71 | 72 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 73 | 74 | To learn React, check out the [React documentation](https://reactjs.org/). 75 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dorsu-notes", 3 | "version": "0.1.0", 4 | "homepage": "https://genmancoder.github.io/dorsu-notes-app", 5 | "private": true, 6 | "dependencies": { 7 | "@testing-library/jest-dom": "^5.16.5", 8 | "@testing-library/react": "^13.3.0", 9 | "@testing-library/user-event": "^13.5.0", 10 | "@types/jest": "^27.5.2", 11 | "@types/node": "^16.11.51", 12 | "@types/react": "^18.0.17", 13 | "@types/react-dom": "^18.0.6", 14 | "gh-pages": "^4.0.0", 15 | "react": "^18.2.0", 16 | "react-dom": "^18.2.0", 17 | "react-router-dom": "^6.4.2", 18 | "react-scripts": "5.0.1", 19 | "typescript": "^4.7.4", 20 | "web-vitals": "^2.1.4" 21 | }, 22 | "scripts": { 23 | "predeploy": "npm run build", 24 | "start": "react-scripts start", 25 | "build": "react-scripts build", 26 | "deploy": "gh-pages -d build", 27 | "test": "react-scripts test", 28 | "eject": "react-scripts eject" 29 | }, 30 | "eslintConfig": { 31 | "extends": [ 32 | "react-app", 33 | "react-app/jest" 34 | ] 35 | }, 36 | "browserslist": { 37 | "production": [ 38 | ">0.2%", 39 | "not dead", 40 | "not op_mini all" 41 | ], 42 | "development": [ 43 | "last 1 chrome version", 44 | "last 1 firefox version", 45 | "last 1 safari version" 46 | ] 47 | }, 48 | "devDependencies": { 49 | "autoprefixer": "^10.4.8", 50 | "postcss": "^8.4.16", 51 | "tailwindcss": "^3.1.8" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | import {BrowserRouter, Routes, Route} from 'react-router-dom' 4 | 5 | import './App.css'; 6 | import Header from './components/Header'; 7 | import About from './pages/About'; 8 | import Developers from './pages/Developers'; 9 | import Home from './pages/Home'; 10 | 11 | function App() { 12 | return ( 13 | <> 14 | 15 |
16 | 17 | }> 18 | 19 | }> 20 | 21 | }> 22 | 23 | 24 | 25 | 26 | 27 | 28 | ); 29 | } 30 | 31 | export default App; 32 | -------------------------------------------------------------------------------- /src/components/Header.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { Link } from "react-router-dom"; 3 | const Header = () => { 4 | return ( 5 |
6 | 21 | 22 |
23 | ) 24 | } 25 | 26 | export default Header -------------------------------------------------------------------------------- /src/images/dorsunotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/src/images/dorsunotes.png -------------------------------------------------------------------------------- /src/images/dorsunotesdark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/src/images/dorsunotesdark.png -------------------------------------------------------------------------------- /src/images/rassey8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/src/images/rassey8.jpg -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | 15 | @tailwind base; 16 | @tailwind components; 17 | @tailwind utilities; -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | const root = ReactDOM.createRoot( 8 | document.getElementById('root') as HTMLElement 9 | ); 10 | root.render( 11 | 12 | 13 | 14 | ); 15 | 16 | // If you want to start measuring performance in your app, pass a function 17 | // to log results (for example: reportWebVitals(console.log)) 18 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 19 | reportWebVitals(); 20 | -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pages/About.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const About = () => { 4 | return ( 5 |
6 | About Section 7 |
8 | ) 9 | } 10 | 11 | export default About -------------------------------------------------------------------------------- /src/pages/Developers.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const Developers = () => { 4 | return ( 5 |
6 |

Developers

7 |
8 | {/* Add your profile here. You can upload your image to the repo under "images" directory 9 | and link it here. 10 | */} 11 | 12 | 13 | {/* grid item */} 14 |
15 |
16 | ... 17 |
18 |

Rassey L. Perez,

19 |

Php Developer

20 |
21 | {/* grid item */} 22 | 23 | 24 |
25 |
26 | ) 27 | } 28 | 29 | export default Developers -------------------------------------------------------------------------------- /src/pages/Home.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const Home = () => { 4 | return ( 5 |
Home
6 | ) 7 | } 8 | 9 | export default Home -------------------------------------------------------------------------------- /src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: [ 4 | './src/**/*.{js,jsx,ts,tsx}', 5 | ], 6 | theme: { 7 | extend: {}, 8 | }, 9 | plugins: [], 10 | } 11 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /website/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genmancoder/dorsu-notes-app/be933d63ee5bb6e18e9d8b6808d1ed5772ab0d71/website/404.html --------------------------------------------------------------------------------