fix readme

pull/1/head
Aji Kamaludin 3 years ago
parent cbb99f1685
commit fb0ba20a27
No known key found for this signature in database
GPG Key ID: 670E1F26AD5A8099

@ -7,7 +7,7 @@ contoh rest api POS ( point of sales ) built with hapi.js
`React Native (Mobile App): ` [Coming Soon](#) `React Native (Mobile App): ` [Coming Soon](#)
### table structure ### table structure
!(table structure)[https://github.com/ajikamaludin/hapi-kasiraja-api/raw/dev/documents/tables.png]
### feature ### feature
- PostgreSQL database - PostgreSQL database
- bisa lebih dari 1 toko `multi store` - bisa lebih dari 1 toko `multi store`
@ -22,23 +22,23 @@ contoh rest api POS ( point of sales ) built with hapi.js
### start ### start
- install - install
`npm install` `npm install`
- config .env file for database - config .env file for database
`cp .env.example .env` `cp .env.example .env`
- migrate database - migrate database
`npm run migrate up` `npm run migrate up`
- run the app - run the app
`npm run start` `npm run start`
- test - test
`curl -i -H 'Accept: application/json' http://localhost:5000/` `curl -i -H 'Accept: application/json' http://localhost:5000/`
response response

Loading…
Cancel
Save