Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust web server: release mode #30

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ed1b93c
Change name of project
noelg-cj Nov 3, 2023
65f4c53
setup template
officiallyaninja Nov 4, 2023
b4377ff
Update .gitignore
officiallyaninja Nov 4, 2023
06d74f3
Create data.db
officiallyaninja Nov 4, 2023
a2eb33a
adding structs for db rows
officiallyaninja Nov 4, 2023
0a60c71
React integrated
noelg-cj Nov 4, 2023
40ed304
Update data.db
officiallyaninja Nov 4, 2023
afca29c
changing from rusqlite to sqlite crate
officiallyaninja Nov 4, 2023
27a6c4d
implementing basic database adding
officiallyaninja Nov 4, 2023
720c0fb
Merge pull request #1 from noelg-cj/rust-web-server
officiallyaninja Nov 4, 2023
a0667a3
Merge pull request #2 from noelg-cj/master
officiallyaninja Nov 4, 2023
f69851e
Update README.md
VB-123 Nov 4, 2023
dae2daa
Merge pull request #1 from VB-123/VB-123-patch-1
VB-123 Nov 4, 2023
d39c217
Merge branch 'noelg-cj:master' into master
VB-123 Nov 4, 2023
240462d
Merge pull request #3 from VB-123/master
VB-123 Nov 4, 2023
93356a1
setup get users
officiallyaninja Nov 5, 2023
411c503
Merge pull request #4 from noelg-cj/rust-web-server
officiallyaninja Nov 5, 2023
3c9003b
get individual user
officiallyaninja Nov 5, 2023
2526013
removed chrono
officiallyaninja Nov 5, 2023
0c7dcb7
added different state for different paths in release and debug mode
officiallyaninja Nov 5, 2023
b61ac5a
added projects with user
officiallyaninja Nov 5, 2023
9f07f0b
adding projects to db
officiallyaninja Nov 5, 2023
ffe4c1b
added get and create tasks
officiallyaninja Nov 5, 2023
d8c641f
more type safe API
officiallyaninja Nov 5, 2023
3d30c1b
Merge pull request #6 from noelg-cj/rust-web-server
officiallyaninja Nov 6, 2023
b79320e
setup subtasks
officiallyaninja Nov 7, 2023
1a82ff1
release mode created tables if necessary now
officiallyaninja Nov 8, 2023
83af7a4
print for where listeneing
officiallyaninja Nov 8, 2023
3b10b21
changed address in release mode
officiallyaninja Nov 8, 2023
0441e33
added deletion
officiallyaninja Nov 10, 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
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# RUST

# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb


# REACT
.DS_STORE
node_modules
scripts/flow/*/.flowconfig
.flowconfig
*~
*.pyc
.grunt
_SpecRunner.html
__benchmarks__
build/
remote-repo/
coverage/
.module-cache
fixtures/dom/public/react-dom.js
fixtures/dom/public/react.js
test/the-files-to-test.generated.js
*.log*
chrome-user-data
*.sublime-project
*.sublime-workspace
.idea
*.iml
.vscode
*.swp
*.swo

packages/react-devtools-core/dist
packages/react-devtools-extensions/chrome/build
packages/react-devtools-extensions/chrome/*.crx
packages/react-devtools-extensions/chrome/*.pem
packages/react-devtools-extensions/firefox/build
packages/react-devtools-extensions/firefox/*.xpi
packages/react-devtools-extensions/firefox/*.pem
packages/react-devtools-extensions/shared/build
packages/react-devtools-extensions/.tempUserDataDir
packages/react-devtools-inline/dist
packages/react-devtools-shell/dist
packages/react-devtools-timeline/dist
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
![StackUp Banner]([https://tinkerhub.frappe.cloud/files/stackup%20banner.jpeg])
# Project Name
Long Description about project. This project do that. This project is awesome...
# Devvy
Introducing Devvy, the ultimate to-do list designed exclusively for developers. Devvy is your essential companion for managing tasks, tracking project progress, and ensuring nothing falls through the cracks in your development journey.

### What Makes Devvy Special?
Devvy understands the unique needs of developers, offering a feature-packed to-do list tailored for your coding endeavors:
- **Task Management**: Devvy simplifies your project workflow. Organize tasks, set priorities, and keep track of your coding assignments.
- **Project Lists**: Keep your projects and coding tasks separate and well-organized. No more confusion about which task belongs to which project.
- **Progress Tracking**: Monitor your progress with ease. Devvy provides insights into completed tasks,tasks in progress and yet-to-start tasks, so you can celebrate achievements.
- **Notifications**: Stay updated with task notifications. Devvy ensures you never miss an important deadline.
- **Customization** : Tailor Devvy to your coding style. Customize task labels, due dates, and more...
## Team members
1. Name [Embed personal github URL]
2. Name [Embed perosnal github URL]
1. [Noel George](https://github.com/noelg-cj)
2. [Arjun Pratap](https://github.com/officiallyaninja)
3. [Vasanthi B N S](https://github.com/VB-123)
4. [Diwa Tomy](https://github.com/diwatomy04)
## Team Id
Team id here
Our Team ID: devstars
## Link to product walkthrough
[link to video]
## How it Works ?
1. Explaining the working of project
### Technology Stack
- Front End: React.js
- Back End: Rust
- Database: SQLite
2. Embed video of project demo
## Libraries used
Library Name - Version
Expand Down
Binary file added data.db
Binary file not shown.
20 changes: 20 additions & 0 deletions frontend/.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 },
],
},
}
24 changes: 24 additions & 0 deletions frontend/.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 frontend/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
13 changes: 13 additions & 0 deletions frontend/index.html
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" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading