An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# React Express MSSQL App

React Store

## 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)*