Files
Campus-Plug/README.md

29 lines
739 B
Markdown
Raw Normal View History

2025-03-05 22:34:29 -07:00
# Some ground rules
2025-03-05 22:30:52 -07:00
1. Add both node_modules from Slient and Server to your `gitignore` file
2025-03-05 22:34:29 -07:00
2. For any functionality make a brach with the prefix of your name `Name-<some branch name>` use this namign convention
2025-01-30 13:29:13 -07:00
2025-03-05 22:34:29 -07:00
## `frontend`
2025-01-30 13:43:02 -07:00
- Use React Js
- Use vite as the node manger
```bash
npm install
2025-03-05 22:34:29 -07:00
```
3. To start the server, cd into the dir and then type command `npm run dev`
## `backend`
2025-01-30 13:37:10 -07:00
1. Install the needed lib with the command bellow
``` bash
npm install
2025-01-30 13:37:10 -07:00
```
2025-03-05 22:34:29 -07:00
2. make sure in the `package.json` file type is set to module, if it's not there, add it!
2025-01-30 13:37:10 -07:00
```json
{
...,
2025-02-02 22:08:21 -07:00
"type": "module"
2025-01-30 13:37:10 -07:00
}
```
3. To start the server, cd into the dir and then type command `npm run dev`
2025-01-30 13:29:13 -07:00
2025-03-05 22:30:52 -07:00
### Database
- Use only mySQL database