Skip to content

Commit 724c98a

Browse files
committedJun 14, 2021
first commit
1 parent 6897b7a commit 724c98a

File tree

68 files changed

+13900
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+13900
-22
lines changed
 

‎README.md

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,68 @@
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+
![angular-12-node-js-mysql-crud-example](angular-12-node-js-mysql-crud-example.png)
11+
12+
Tutorial link: [Angular 12 + Node.js Express + MySQL example](https://bezkoder.com/angular-12-node-js-express-mysql/)
213

314
For more detail, please visit:
15+
> [Angular 12 CRUD Application example with Web API](https://bezkoder.com/angular-12-crud-app/)
16+
417
> [Build Node.js Rest APIs with Express, Sequelize & MySQL](https://bezkoder.com/node-js-express-sequelize-mysql/)
518
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+
630
> [Server side Pagination in Node.js with Sequelize and MySQL](https://bezkoder.com/node-js-sequelize-pagination-mysql/)
731
832
> [Deploying/Hosting Node.js app on Heroku with MySQL database](https://bezkoder.com/deploy-node-js-app-heroku-cleardb-mysql/)
933
1034
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/)
1236
1337
Associations:
1438
> [Sequelize Associations: One-to-Many Relationship example](https://bezkoder.com/sequelize-associate-one-to-many/)
1539
1640
> [Sequelize Associations: Many-to-Many Relationship example](https://bezkoder.com/sequelize-associate-many-to-many/)
1741
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:
2943
> [Angular 12 + Node.js Express + MySQL example](https://bezkoder.com/angular-12-node-js-express-mysql/)
3044
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/)
3246
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/)
3548
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/)
3751
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/)
3955
4056
## Project setup
57+
58+
### Node.js Server
4159
```
42-
npm install
60+
cd node-js-server
61+
node server.js
4362
```
4463

45-
### Run
64+
### Angular Client
4665
```
47-
node server.js
66+
cd angular-11-client
4867
```
68+
Run `ng serve --port 8081` for a dev server. Navigate to `http://localhost:8081/`.

‎angular-12-client/.browserslistrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR
17+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

0 commit comments

Comments
 (0)
Please sign in to comment.