Skip to content

Commit 9502ed3

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update README.md
Co-Authored-By: JehanKandy <[email protected]> Co-Authored-By: Anupa Gamage <[email protected]>
1 parent 88e5648 commit 9502ed3

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

README.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@
151151

152152
<hr>
153153

154-
## BackEnd
154+
## BackEnd
155+
156+
### no-MVC (Mysql)
155157

156158
- After you install package
157159

@@ -199,6 +201,59 @@ node_modules
199201

200202
- mysql table
201203

204+
205+
206+
### with-MVC (Mysql)
207+
208+
- After you install package
209+
210+
- add following command to you `package.json` file at `script`
211+
212+
``` js
213+
214+
"SignInUpBackendMVC": "node -e \"require('login-signup-react').RunBackendMysqlMVC()\""
215+
216+
```
217+
218+
- and the run above command
219+
220+
- after you can see `server` folder in your root folder
221+
222+
- it is the backend
223+
224+
- go inside the `server` folder and create file `.gitignore`
225+
226+
- and add
227+
228+
```
229+
node_modules
230+
231+
```
232+
233+
- after run
234+
235+
```sh
236+
237+
npm install
238+
239+
```
240+
241+
- then develop your mysql evniroment
242+
243+
`ID int AI PK
244+
username varchar(45)
245+
email varchar(100)
246+
password varchar(100)
247+
role varchar(45)
248+
create_at datetime
249+
is_active int
250+
is_lock int`
251+
252+
- mysql table
253+
254+
255+
256+
202257
- start the Project
203258

204259
- - both Frandend and Backend

0 commit comments

Comments
 (0)