Update the file
This commit is contained in:
27
README.md
27
README.md
@@ -1,18 +1,29 @@
|
|||||||
# Campus-Plug
|
# Campus-Plug
|
||||||
- The ultimate plug for student deals
|
The ultimate plug for student deals
|
||||||
|
|
||||||
|
## some ground rules
|
||||||
|
1. Add both node_modules from client and server to your `gitignore` file
|
||||||
|
2. Do not use `.ENV` variables
|
||||||
|
3. Databased cannot a
|
||||||
|
|
||||||
---
|
|
||||||
## some ground rulles
|
|
||||||
- add both node_modules from client and server to your `gitignore` file
|
|
||||||
- WE DO NOT USE .ENV variables
|
|
||||||
|
|
||||||
## Client
|
## Client
|
||||||
|
- Use React Js or html&css
|
||||||
|
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
1. Install the needed lib with the command bellow
|
||||||
```
|
``` bash
|
||||||
npm install express mysql2 dotenv cors
|
npm install express mysql2 dotenv cors
|
||||||
```
|
```
|
||||||
|
2. make sure in the `package.json` file type is set to module, if it not there add it.
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
...,
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Database
|
## Database
|
||||||
|
- Use only SQL database
|
||||||
|
- Loading of initian database will be done
|
||||||
Reference in New Issue
Block a user