|
1 |
| -# Node.js Rest APIs with Express, Sequelize & MySQL example |
| 1 | +# Angular 11 Node.js MySQL CRUD example |
| 2 | + |
| 3 | +In this tutorial, I will show you how to build a full-stack (Angular 11 + Node.js + Express + MySQL) example with a CRUD Application. The back-end server uses Node.js + Express for REST APIs, front-end side is an Angular App with HTTPClient. |
| 4 | + |
| 5 | +We will build a full-stack Tutorial Application in that: |
| 6 | +- Tutorial has id, title, description, published status. |
| 7 | +- User can create, retrieve, update, delete Tutorials. |
| 8 | +- There is a search box for finding Tutorials by title. |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +Tutorial link: [Angular 12 + Node.js Express + MySQL example](https://bezkoder.com/angular-12-node-js-express-mysql/) |
2 | 13 |
|
3 | 14 | For more detail, please visit:
|
| 15 | +> [Angular 12 CRUD Application example with Web API](https://bezkoder.com/angular-12-crud-app/) |
| 16 | +
|
4 | 17 | > [Build Node.js Rest APIs with Express, Sequelize & MySQL](https://bezkoder.com/node-js-express-sequelize-mysql/)
|
5 | 18 |
|
| 19 | +> [How to integrate Angular 12 with Node.js Restful Services](https://bezkoder.com/integrate-angular-12-node-js/) |
| 20 | +
|
| 21 | +More Practice: |
| 22 | +> [Angular 12 Pagination example | ngx-pagination](https://bezkoder.com/angular-12-pagination-ngx/) |
| 23 | +
|
| 24 | +> [Angular 12 JWT Authentication & Authorization with Web API](https://bezkoder.com/angular-12-jwt-auth/) |
| 25 | +
|
| 26 | +> [Angular 12 File upload example with progress bar & Bootstrap](https://bezkoder.com/angular-12-file-upload/) |
| 27 | +
|
| 28 | +> [Node.js Express File Upload Rest API example](https://bezkoder.com/node-js-express-file-upload/) |
| 29 | +
|
6 | 30 | > [Server side Pagination in Node.js with Sequelize and MySQL](https://bezkoder.com/node-js-sequelize-pagination-mysql/)
|
7 | 31 |
|
8 | 32 | > [Deploying/Hosting Node.js app on Heroku with MySQL database](https://bezkoder.com/deploy-node-js-app-heroku-cleardb-mysql/)
|
9 | 33 |
|
10 | 34 | Security:
|
11 |
| -> [Node.js Express: JWT example | Token Based Authentication & Authorization](https://bezkoder.com/node-js-jwt-authentication-mysql/) |
| 35 | +> [Angular 12 + Node.js Express: JWT Authentication and Authorization example](https://bezkoder.com/node-js-angular-12-jwt-auth/) |
12 | 36 |
|
13 | 37 | Associations:
|
14 | 38 | > [Sequelize Associations: One-to-Many Relationship example](https://bezkoder.com/sequelize-associate-one-to-many/)
|
15 | 39 |
|
16 | 40 | > [Sequelize Associations: Many-to-Many Relationship example](https://bezkoder.com/sequelize-associate-many-to-many/)
|
17 | 41 |
|
18 |
| -Fullstack: |
19 |
| -> [Vue.js + Node.js + Express + MySQL example](https://bezkoder.com/vue-js-node-js-express-mysql-crud-example/) |
20 |
| -
|
21 |
| -> [Vue.js + Node.js + Express + MongoDB example](https://bezkoder.com/vue-node-express-mongodb-mevn-crud/) |
22 |
| -
|
23 |
| -> [Angular 8 + Node.js + Express + MySQL example](https://bezkoder.com/angular-node-express-mysql/) |
24 |
| -
|
25 |
| -> [Angular 10 + Node.js + Express + MySQL example](https://bezkoder.com/angular-10-node-js-express-mysql/) |
26 |
| -
|
27 |
| -> [Angular 11 + Node.js Express + MySQL example](https://bezkoder.com/angular-11-node-js-express-mysql/) |
28 |
| -
|
| 42 | +Fullstack with Node.js Express: |
29 | 43 | > [Angular 12 + Node.js Express + MySQL example](https://bezkoder.com/angular-12-node-js-express-mysql/)
|
30 | 44 |
|
31 |
| -> [React + Node.js + Express + MySQL example](https://bezkoder.com/react-node-express-mysql/) |
| 45 | +> [Angular 12 + Node.js + Express + PostgreSQL example](https://bezkoder.com/angular-12-node-js-express-postgresql/) |
32 | 46 |
|
33 |
| -Integration (run back-end & front-end on same server/port) |
34 |
| -> [Integrate React with Node.js Restful Services](https://bezkoder.com/integrate-react-express-same-server-port/) |
| 47 | +> [Angular 12 + Node.js Express + MongoDB example](https://bezkoder.com/angular-12-mongodb-node-js-express/) |
35 | 48 |
|
36 |
| -> [Integrate Angular with Node.js Restful Services](https://bezkoder.com/integrate-angular-10-node-js/) |
| 49 | +Serverless with Firebase: |
| 50 | +> [Angular 12 Firebase CRUD with Realtime DataBase | AngularFireDatabase](https://bezkoder.com/angular-12-firebase-crud/) |
37 | 51 |
|
38 |
| -> [Integrate Vue with Node.js Restful Services](https://bezkoder.com/serve-vue-app-express/) |
| 52 | +> [Angular 12 Firestore CRUD example with AngularFireStore](https://bezkoder.com/angular-12-firestore-crud-angularfirestore/) |
| 53 | +
|
| 54 | +> [Angular 12 Firebase Storage: File Upload/Display/Delete example](https://bezkoder.com/angular-12-file-upload-firebase-storage/) |
39 | 55 |
|
40 | 56 | ## Project setup
|
| 57 | + |
| 58 | +### Node.js Server |
41 | 59 | ```
|
42 |
| -npm install |
| 60 | +cd node-js-server |
| 61 | +node server.js |
43 | 62 | ```
|
44 | 63 |
|
45 |
| -### Run |
| 64 | +### Angular Client |
46 | 65 | ```
|
47 |
| -node server.js |
| 66 | +cd angular-11-client |
48 | 67 | ```
|
| 68 | +Run `ng serve --port 8081` for a dev server. Navigate to `http://localhost:8081/`. |
0 commit comments