Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paalamugan/opticalvisionapi-nodejs
Optical Application using NodeJs Rest Api in Server-Side
https://github.com/paalamugan/opticalvisionapi-nodejs
api express mysql nodejs redis sequelize
Last synced: about 5 hours ago
JSON representation
Optical Application using NodeJs Rest Api in Server-Side
- Host: GitHub
- URL: https://github.com/paalamugan/opticalvisionapi-nodejs
- Owner: paalamugan
- Created: 2018-10-04T15:54:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T19:07:08.000Z (almost 2 years ago)
- Last Synced: 2024-05-17T20:53:46.627Z (6 months ago)
- Topics: api, express, mysql, nodejs, redis, sequelize
- Language: JavaScript
- Homepage:
- Size: 6.45 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpticalVision-NodeJs
Run Mysql server via docker
docker run -d --name mysql -p 3306:3306 -e MYSQL_USER=root -e MYSQL_PASSWORD=root -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=opticalvision -v /mnt/e/development/git/OpticalVisionApi-NodeJs/data/db/mysql:/data/db mysql:latest
Optical Application using NodeJs Rest Api
```
npm install
```## Development
- Start a development server
```
npm run dev
```## Production
- Start a production server
```
npm run serve
```curl --header "Content-Type: application/json" -d "{\"companyName\":\"sdsfsd\",\"tinNumber\":\"134\", \"userName\":\"sdsfsd\", \"email\":\"[email protected]\", \"password\":\"asdfg\",\"cnfPassword\":\"asdfg\",\"address\":\"asdfg\",\"phoneNumber\":\"6464646464\"}" http://localhost:9000/api/visionapp/company/register