https://github.com/learning-zone/react-node-sqlserver-app
React, Node, MSSQL App
https://github.com/learning-zone/react-node-sqlserver-app
expressjs jwt-authentication mssqlserver nodejs reactjs
Last synced: 7 months ago
JSON representation
React, Node, MSSQL App
- Host: GitHub
- URL: https://github.com/learning-zone/react-node-sqlserver-app
- Owner: learning-zone
- License: mit
- Created: 2020-07-26T12:53:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T04:22:45.000Z (about 3 years ago)
- Last Synced: 2025-04-09T14:40:36.328Z (9 months ago)
- Topics: expressjs, jwt-authentication, mssqlserver, nodejs, reactjs
- Language: JavaScript
- Homepage:
- Size: 897 KB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Express MSSQL App

## Login Credential
> pradeep.vwa@gmail.com/root
## Project covers
* React auth using jwt and passport.js.
* React and Sql-Server connection
* RestAPI call
* Export to Excel
### Rest APIs
| Methods | Urls | Actions |
|---------|------------------|---------------------|
| POST | /api/post/login | Login an account |
| GET | /api/get/user | Access User Content |
| POST | /api/post/user | Access New User |
### Technology
* React
* Material-UI
* Express.js
* bcryptjs
* jsonwebtoken
* Passport.js
* Session
* MSSQL
### Installation
```bash
# Package Installation
npm install
# Build the frontend and start project on express
npm start
# Start only React Application
npm devStart
# React Project Build
npm run build
```
### Database Setup
`config.js`
```js
let config = {
"user": "sa",
"password": "",
"server": "",
"database": "",
"driver": "msnodesqlv8",
"port": 1433
};
```
### Resources
* *[React](https://reactjs.org/)*
* *[PM2](https://pm2.keymetrics.io/)*
* *[Material-UI](https://material-ui.com/)*
* *[Json Web Token](https://github.com/auth0/node-jsonwebtoken)*