Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurpedroti/protheus-api
An API served by SQL protheus database to make reports and KPIs. Using React.js and Node.js
https://github.com/arthurpedroti/protheus-api
Last synced: 10 days ago
JSON representation
An API served by SQL protheus database to make reports and KPIs. Using React.js and Node.js
- Host: GitHub
- URL: https://github.com/arthurpedroti/protheus-api
- Owner: ArthurPedroti
- License: mit
- Created: 2020-08-22T13:56:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T15:00:22.000Z (over 3 years ago)
- Last Synced: 2024-11-08T07:42:24.350Z (2 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An API in Node, powered by SQL protheus database, and a React application to show the data.# Script for update the app on Server
1º - Login with SSH
2º - cd Protheus-API
3º - git pull
4º - cd frontend
5º - `npm run build` or `sudo yarn build`
6º - pm2 restart all# Server Setup
1º - Install Node
```
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
```
```
sudo bash nodesource_setup.sh
```
```
sudo apt install nodejs
```
```
sudo apt install build-essential
```2º - Install PM2
```
sudo npm install pm2@latest -g
```3º - Setting PM2 on Start Up
``
pm2 startup systemd
``When you start the services, you can save the list for restart with:
`
pm2 save
`4º - Install Yarn
```
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
```
```
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
```
`sudo apt update`
`sudo apt install --no-install-recommends yarn`
## Author
👤 **Arthur Pedroti**
* Github: [@ArthurPedroti](https://github.com/ArthurPedroti)
* Linkedin: [@ArthurPedroti](https://www.linkedin.com/in/arthurpedroti)## Contributing
Contributions, issues and feature requests are welcome!
## Show your support
Give a ⭐️ if this project helped you!
## License
Copyright © 2020 [Arthur Pedroti](https://github.com/ArthurPedroti).
This project is [MIT](https://github.com/ArthurPedroit/pv-agf-frontend/blob/master/LICENSE) licensed.---
Made by :blue_heart: by [Arthur Pedroti](https://github.com/ArthurPedroti)