SQL CODE BUGS FIXES

Login Auth now implemented
Persistance login page
AI app.jsx formating
This commit is contained in:
Mann Patel
2025-03-12 16:13:03 -06:00
parent 864a386ba2
commit 6798a5c6a6
8 changed files with 756 additions and 319 deletions

View File

@@ -5,15 +5,15 @@
## `frontend`
- Use React Js
- Use vite as the node manger
```
npm install express cors react-router-dom lucid-react
```bash
npm install
```
3. To start the server, cd into the dir and then type command `npm run dev`
## `backend`
1. Install the needed lib with the command bellow
``` bash
npm install express mysql2 dotenv cors
npm install
```
2. make sure in the `package.json` file type is set to module, if it's not there, add it!
```json
@@ -22,8 +22,7 @@
"type": "module"
}
```
3. To start the server, cd into the dir and then type command `npm run start`
3. To start the server, cd into the dir and then type command `npm run dev`
### Database
- Use only mySQL database