SQL CODE BUGS FIXES
Login Auth now implemented Persistance login page AI app.jsx formating
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user